Remove duplicated app elements

This commit is contained in:
Bill Thornton 2023-05-01 14:19:50 -04:00
parent 575afa2e98
commit d7c72080e9

View file

@ -3,8 +3,6 @@ import { History } from '@remix-run/router';
import React from 'react'; import React from 'react';
import StableApp from './apps/stable/App'; import StableApp from './apps/stable/App';
import AppHeader from './components/AppHeader';
import Backdrop from './components/Backdrop';
import { HistoryRouter } from './components/HistoryRouter'; import { HistoryRouter } from './components/HistoryRouter';
import { ApiProvider } from './hooks/useApi'; import { ApiProvider } from './hooks/useApi';
@ -16,17 +14,11 @@ const RootApp = ({ history }: { history: History }) => {
return ( return (
<ApiProvider> <ApiProvider>
<HistoryRouter history={history}> <HistoryRouter history={history}>
<Backdrop />
<AppHeader />
<div className='mainAnimatedPages skinBody' />
<div className='skinBody'>
{ {
layoutMode === 'experimental' ? layoutMode === 'experimental' ?
<ExperimentalApp /> : <ExperimentalApp /> :
<StableApp /> <StableApp />
} }
</div>
</HistoryRouter> </HistoryRouter>
</ApiProvider> </ApiProvider>
); );