chore: just in case

This commit is contained in:
iCrawl
2022-08-23 17:30:26 +02:00
parent 58d2a1e6d7
commit 6da405668f

View File

@@ -215,6 +215,9 @@ export default function SlugPage(props: Partial<SidebarLayoutProps & { error?: s
);
}
// Just in case
// return <iframe src="https://discord.js.org" style={{ border: 0, height: '100%', width: '100%' }}></iframe>;
return props.error ? (
<Box sx={{ display: 'flex', maxWidth: '100%', height: '100%' }}>{props.error}</Box>
) : (