Throwing 404 to the wall

This commit is contained in:
2025-05-06 21:14:54 +02:00
parent 5a8050145d
commit 990e7fa226
6 changed files with 44 additions and 14 deletions

View File

@@ -38,6 +38,10 @@ const Edit = <T,>(props: EditProps) => {
return <Navigate to="../" />
}
if (query.error?.status == 404) {
throw query.error
}
const record = query.data.data;
return (
<>