From 3d432b950794593d705eb556456deca124bc4ca9 Mon Sep 17 00:00:00 2001 From: Alberto Defendi <1369-ahl-berto@users.noreply.gitlab.inf.unibz.it> Date: Sun, 23 May 2021 17:54:01 +0200 Subject: [PATCH] Remove container. --- src/components/AuthUser/Dashboard/Dashboard.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/AuthUser/Dashboard/Dashboard.tsx b/src/components/AuthUser/Dashboard/Dashboard.tsx index 452ed8f..e7ed18e 100644 --- a/src/components/AuthUser/Dashboard/Dashboard.tsx +++ b/src/components/AuthUser/Dashboard/Dashboard.tsx @@ -8,9 +8,9 @@ import { ProfilePage } from 'components/AuthUser/Dashboard/ProfilePage/ProfilePa export const Dashboard: FC = () => { const { path } = useRouteMatch(); return ( - <Container maxWidth="sm"> + <> <Route exact path={`${path}${AuthRoutes.home}`} component={HomePage} /> <Route path={`${path}${AuthRoutes.profile}`} component={ProfilePage} /> - </Container> + </> ); }; -- GitLab