Skip to content

Commit

Permalink
fixup! HAI-2065 Implement file upload component
Browse files Browse the repository at this point in the history
  • Loading branch information
markohaarni committed Nov 1, 2023
1 parent 6cc5390 commit 5c729ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/common/components/fileUpload/FileUpload.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ function useDragAndDropFiles() {
function SuccessNotification({
successfulCount,
totalCount,
}: {
}: Readonly<{
successfulCount: number;
totalCount: number;
}) {
}>) {
const { t } = useTranslation();

return (
Expand Down Expand Up @@ -81,7 +81,7 @@ export default function FileUpload<T extends AttachmentMetadata>({
existingAttachments = [],
uploadFunction,
onUpload,
}: Props<T>) {
}: Readonly<Props<T>>) {
const { t } = useTranslation();
const locale = useLocale();
const [newFiles, setNewFiles] = useState<File[]>([]);
Expand Down

0 comments on commit 5c729ca

Please sign in to comment.