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 StableApp from './apps/stable/App';
import AppHeader from './components/AppHeader';
import Backdrop from './components/Backdrop';
import { HistoryRouter } from './components/HistoryRouter';
import { ApiProvider } from './hooks/useApi';
@ -16,17 +14,11 @@ const RootApp = ({ history }: { history: History }) => {
return (
<ApiProvider>
<HistoryRouter history={history}>
<Backdrop />
<AppHeader />
<div className='mainAnimatedPages skinBody' />
<div className='skinBody'>
{
layoutMode === 'experimental' ?
<ExperimentalApp /> :
<StableApp />
}
</div>
{
layoutMode === 'experimental' ?
<ExperimentalApp /> :
<StableApp />
}
</HistoryRouter>
</ApiProvider>
);