mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-23 09:51:10 +01:00
Use SelectFile component in more places
This commit is contained in:
@@ -28,7 +28,7 @@ export function BinaryFileEditor({
|
||||
fallback: false,
|
||||
});
|
||||
|
||||
const handleChange = async (filePath: string | null) => {
|
||||
const handleChange = async ({ filePath }: { filePath: string | null }) => {
|
||||
await ignoreContentType.set(false);
|
||||
onChange({ filePath: filePath ?? undefined });
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user