Skip to content

Commit

Permalink
chore: add semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
WallysFerreira committed Jan 26, 2024
1 parent d96d108 commit b1c461e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions ui/src/components/docs-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ const DocsInput: React.FC<{

const getFileNames = () => {
if (fileRef.current?.files != null) {
let names = []
let names = [];

for (let file of fileRef.current.files) {
names.push(file.name)
names.push(file.name);
}

setFileNames(names)
setFileNames(names);
}
};

Expand Down
6 changes: 3 additions & 3 deletions ui/src/components/image-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ const ImageInput: React.FC<{

const getFileNames = () => {
if (fileRef.current?.files != null) {
let names = []
let names = [];

for (let file of fileRef.current.files) {
names.push(file.name)
names.push(file.name);
}

setFileNames(names)
setFileNames(names);
}
};

Expand Down

0 comments on commit b1c461e

Please sign in to comment.