fix: return 404 if a fetch error or no data is returned

This commit is contained in:
iCrawl
2022-08-22 23:29:23 +02:00
parent 92c0c60519
commit 43a78be70b
5 changed files with 12 additions and 6 deletions

View File

@@ -133,7 +133,7 @@ export function DocContainer({
{(kind === 'Class' || kind === 'Interface') && (methods?.length || properties?.length) ? (
<MediaQuery smallerThan="lg" styles={{ display: 'none' }}>
<Aside hiddenBreakpoint="lg" width={{ lg: 250 }} withBorder>
<ScrollArea p="xs">
<ScrollArea p="xs" offsetScrollbars>
<TableOfContentItems properties={properties ?? []} methods={methods ?? []}></TableOfContentItems>
</ScrollArea>
</Aside>