mirror of
https://github.com/qwertyforce/scenery.git
synced 2025-05-01 21:20:09 +00:00
Update delete_image.tsx
This commit is contained in:
parent
1da0e99672
commit
72964fa199
@ -16,8 +16,10 @@ const useStyles = makeStyles(() => ({
|
||||
},
|
||||
}));
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
export default function deleteImage(props: any) {
|
||||
interface DeleteImageProps{
|
||||
err:boolean
|
||||
}
|
||||
export default function deleteImage(props: DeleteImageProps) {
|
||||
if (props.err) {
|
||||
return <ErrorPage statusCode={404} />
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user