Skip to content

Commit e40661c

Browse files
committed
Upload File Accepts Only Mira Files
1 parent 94943cb commit e40661c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fission/src/ui/modals/mirabuf/ImportLocalMirabufModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ const ImportLocalMirabufModal: React.FC<ModalImplProps<void, void>> = ({ modal }
9191
</ToggleButtonGroup>
9292
<Button component="label" role={undefined}>
9393
Upload File
94-
<VisuallyHiddenInput type="file" onChange={onInputChanged} multiple />
94+
<VisuallyHiddenInput type="file" onChange={onInputChanged} multiple accept=".mira" />
9595
</Button>
9696
{selectedFile && <Label className="text-center" size="sm">{`Selected File: ${selectedFile.name}`}</Label>}
9797
</Stack>

0 commit comments

Comments
 (0)