Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 31 additions & 15 deletions react/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -463,21 +463,37 @@
{
path: '/reservoir',
handle: { labelKey: 'Reservoir' },
Component: () => {
return (
<BAIErrorBoundary>
<Suspense
fallback={
<Flex direction="column" style={{ maxWidth: 700 }}>
<Skeleton active />
</Flex>
}
>
<ReservoirPage />
</Suspense>
</BAIErrorBoundary>
);
},
children: [
{
path: '',
Component: () => {
return (
<BAIErrorBoundary>
<Suspense
fallback={
<Flex direction="column" style={{ maxWidth: 700 }}>

Check failure on line 474 in react/src/App.tsx

View workflow job for this annotation

GitHub Actions / react-coverage

'Flex' is not defined

Check failure on line 474 in react/src/App.tsx

View workflow job for this annotation

GitHub Actions / react-coverage

'Flex' is not defined
<Skeleton active />
</Flex>
}
>
<ReservoirPage />
</Suspense>
</BAIErrorBoundary>
);
},
},
{
path: '/reservoir/:artifactId',
element: (
<BAIErrorBoundary>
<Suspense fallback={<Skeleton active />}>
<ReservoirPage />
</Suspense>
</BAIErrorBoundary>
),
handle: { labelKey: 'Artifact Details' },
},
],
},
{
path: '/settings',
Expand Down
Loading
Loading