mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 19:13:31 +01:00
fix: return 404 if a fetch error or no data is returned
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user