mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-23 01:49:13 +01:00
Use SelectFile component in more places
This commit is contained in:
@@ -24,7 +24,7 @@ export function ImportDataDialog({ importData }: Props) {
|
||||
</ul>
|
||||
</VStack>
|
||||
<VStack space={2}>
|
||||
<SelectFile filePath={filePath} onChange={setFilePath} />
|
||||
<SelectFile filePath={filePath} onChange={({ filePath }) => setFilePath(filePath)} />
|
||||
{filePath && (
|
||||
<Button
|
||||
color="primary"
|
||||
|
||||
Reference in New Issue
Block a user