Skip to content

Commit

Permalink
chore: getFileSize return 타입 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave352 authored and 김영수(Kim Young Su) committed May 11, 2023
1 parent 983ce07 commit 03affc8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/dirty-masks-wonder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@musma/react-utils': patch
---

chore: getFileSize return type 수정
2 changes: 1 addition & 1 deletion packages/react-utils/src/utils/FileUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/
export const getFileSize = (fileSize?: number) => {
if (!fileSize) {
return 0
return '0'
}

const kb = 1024
Expand Down

0 comments on commit 03affc8

Please sign in to comment.