File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import React from 'react'
22import { useSelector , useDispatch } from 'react-redux'
3+ import styled from 'styled-components'
34import { Container , Notification } from '@redux-devtools/ui'
45import { clearNotification } from '@redux-devtools/app/lib/esm/actions'
56import Actions from '@redux-devtools/app/lib/esm/containers/Actions'
67import Settings from './Settings'
78import Header from './Header'
89
10+ const StyledContainer = styled ( Container ) `overflow: hidden;`
11+
912function App ( ) {
1013 const section = useSelector ( ( state ) => state . section )
1114 const theme = useSelector ( ( state ) => state . theme )
@@ -23,7 +26,7 @@ function App() {
2326 }
2427
2528 return (
26- < Container themeData = { theme } >
29+ < StyledContainer themeData = { theme } >
2730 < Header section = { section } />
2831 { body }
2932 { notification && (
@@ -34,7 +37,7 @@ function App() {
3437 { notification . message }
3538 </ Notification >
3639 ) }
37- </ Container >
40+ </ StyledContainer >
3841 )
3942}
4043
You can’t perform that action at this time.
0 commit comments