chore: fixed in the PR before

This commit is contained in:
Chesterkxng
2026-02-25 00:06:08 +01:00
parent 31a33178b2
commit 95a7cd37cc
2 changed files with 0 additions and 28 deletions
@@ -1,19 +0,0 @@
import { Button } from '@mui/material';
interface RemoveFileButtonProps {
onRemove: () => void;
}
export default function RemoveFileButton({ onRemove }: RemoveFileButtonProps) {
return (
<Button
variant="outlined"
color="error"
size="small"
onClick={onRemove}
sx={{ mt: 1 }}
>
Remove File
</Button>
);
}
-9
View File
@@ -1,9 +0,0 @@
export function resetFileState<T>(
setFile: (value: T | null) => void,
setResult?: (value: any) => void
) {
setFile(null);
if (setResult) {
setResult(null);
}
}