only accept csv file when uploading files

This commit is contained in:
Hongbo Wu 2023-08-14 12:21:50 +08:00
parent 1efa314bf9
commit 9321dab04b

View file

@ -209,6 +209,7 @@ export default function ImportUploader(): JSX.Element {
type="file"
onChange={onTypeChange}
disabled={uploadState == 'uploading'}
accept=".csv"
/>
{/* <Box>{file && `${file.name}`}</Box> */}
</HStack>