feat: enhance accessibility and testing with data-test attributes and improve error handling
This commit is contained in:
@@ -20,7 +20,7 @@ export default async function EditPageRoute({ params }: Props) {
|
||||
|
||||
const api = createSiteBuilderApi(client);
|
||||
const page = await api.getPage(pageId);
|
||||
if (!page) return <div>Seite nicht gefunden</div>;
|
||||
if (!page) return <AccountNotFound />;
|
||||
|
||||
return (
|
||||
<SiteEditor
|
||||
|
||||
Reference in New Issue
Block a user