Skip to content

Commit

Permalink
add container
Browse files Browse the repository at this point in the history
Signed-off-by: Teo Koon Peng <[email protected]>
  • Loading branch information
koonpeng committed Aug 16, 2024
1 parent 0c31f4e commit c95b5ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/dashboard/src/components/rmf-dashboard.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Tab, Typography } from '@mui/material';
import { Container, Tab, Typography } from '@mui/material';
import React, { startTransition, useTransition } from 'react';
import { getDefaultTaskDefinition, LocalizationProvider } from 'react-components';
import { RouterProvider } from 'react-router';
Expand Down Expand Up @@ -179,7 +179,7 @@ export function RmfDashboard({
helpLink={helpLink}
reportIssueLink={reportIssueLink}
></AppBar>
{!pendingTransition && <RouterProvider router={router} />}
<Container>{!pendingTransition && <RouterProvider router={router} />}</Container>
</AllThemProviders>
);
}

0 comments on commit c95b5ff

Please sign in to comment.