Skip to content

Commit

Permalink
fix: add Container to match the one in Shell
Browse files Browse the repository at this point in the history
Refs: CO-1652
  • Loading branch information
rodleyorosa committed Nov 15, 2024
1 parent 58ff951 commit 5fb7a65
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,16 @@
import React, { Suspense, lazy, useEffect } from 'react';

import { addSettingsView, t } from '@zextras/carbonio-shell-ui';
import { Spinner } from "@zextras/carbonio-design-system";
import { Container, Spinner } from "@zextras/carbonio-design-system";

const LazyAuth = lazy(() => import(/* webpackChunkName: "settings-view" */ './settings/auth-view'));

const Auth = (props) => (
<Suspense fallback={<Spinner color={'primary'} />}>
<Suspense fallback={
<Container>
<Spinner color={'primary'} />
</Container>
}>
<LazyAuth {...props} />
</Suspense>
);
Expand Down

0 comments on commit 5fb7a65

Please sign in to comment.