Skip to content

Commit

Permalink
Merge pull request #98 from tempfiles-Team/97-checkpw-page-size-표기-수정
Browse files Browse the repository at this point in the history
97 checkpw page size 표기 수정
  • Loading branch information
ananjaemin committed Nov 20, 2022
2 parents 92b6149 + 2255c20 commit 35e3ef6
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ jobs:
with:
context: .
file: ./Dockerfile
platforms: linux/amd64, linux/arm64/v8, linux/arm/v7
platforms: linux/arm64, linux/amd64
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/nodejs-docker-action:latest
tags: ${{ secrets.DOCKERHUB_USERNAME }}/tempfiles-frontend:latest
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
## tempfiles-frontend

backend - https://github.com/minpeter/tempfiles-backend
backend - https://github.com/tempfiles-Team/tempfiles-backend
24 changes: 12 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/pages/checkpw/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { bindActionCreators } from 'redux';

import { FileBox, Button, SkeletonUI } from '../../components';
import { actionCreators } from '../../state';
import { getDate } from '../../utils';
import { getDate, getFileSize } from '../../utils';
import * as S from './styled';

export const CheckPasswordPage: React.FC = () => {
Expand Down Expand Up @@ -68,7 +68,7 @@ export const CheckPasswordPage: React.FC = () => {
setLoading(false);
setFileProps({
filename: res.data.filename,
size: res.data.size,
size: getFileSize(res.data.size),
uploadDate: getDate(res.data.uploadDate),
});
})
Expand Down

0 comments on commit 35e3ef6

Please sign in to comment.