improve: Move notifications from redux into context

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2022-08-18 23:07:23 +02:00
parent b797f07aa5
commit 03d87f59f8
38 changed files with 362 additions and 376 deletions

View file

@ -10,7 +10,6 @@ import { Container } from 'react-bootstrap'
import { MotdModal } from '../common/motd-modal/motd-modal'
import { Footer } from './footer/footer'
import { HeaderBar } from './navigation/header-bar/header-bar'
import { UiNotifications } from '../notifications/ui-notifications'
/**
* Renders the layout for both intro and history page.
@ -20,7 +19,6 @@ import { UiNotifications } from '../notifications/ui-notifications'
export const LandingLayout: React.FC<PropsWithChildren<unknown>> = ({ children }) => {
return (
<Fragment>
<UiNotifications />
<MotdModal />
<Container className='text-light d-flex flex-column mvh-100'>
<HeaderBar />