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

@@ -19,7 +19,7 @@ export function ParameterTable({ data }: { data: ParameterDocumentation[] }) {
return (
<Box>
<ScrollArea type="auto">
<ScrollArea offsetScrollbars>
<Table columns={['Name', 'Type', 'Optional', 'Description']} rows={rows} columnStyles={columnStyles} />
</ScrollArea>
</Box>