Skip to content

Commit

Permalink
Update src/components/Files/FilesTab.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Rithvik Nishad <rithvikn2001@gmail.com>
  • Loading branch information
rajku-dev and rithviknishad authored Jan 19, 2025
1 parent c24a77d commit e34edf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Files/FilesTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -614,11 +614,11 @@ const FileUploadDialog = ({
type="text"
id={`upload-file-name-${index}`}
required
className={`block w-full rounded-md border px-3 py-2 text-sm ${
className={
index === 0 && fileUpload.error
? "border-red-500 focus:ring-red-500"
: "border-gray-300 focus:ring-primary"
}`}
}

Check failure on line 621 in src/components/Files/FilesTab.tsx

View workflow job for this annotation

GitHub Actions / lint

Insert `·`

Check failure on line 621 in src/components/Files/FilesTab.tsx

View workflow job for this annotation

GitHub Actions / cypress-run (1)

Insert `·`
value={fileUpload.fileNames[index] || ""}
disabled={fileUpload.uploading}
onChange={(e) =>
Expand Down

0 comments on commit e34edf3

Please sign in to comment.