mirror of
https://github.com/docmost/docmost.git
synced 2026-07-25 11:24:41 +10:00
better page deletion handling
This commit is contained in:
@@ -20,7 +20,7 @@ export default function Page() {
|
||||
return <div>Loading...</div>;
|
||||
}
|
||||
|
||||
if (isError) {
|
||||
if (isError || !data) { // TODO: fix this
|
||||
return <div>Error fetching page data.</div>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user