Skip to content

Commit

Permalink
Redux DevTools: Fix overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jhen0409 committed Jul 29, 2023
1 parent deb564e commit fe18579
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/containers/redux/DevTools.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
import React from 'react'
import { useSelector, useDispatch } from 'react-redux'
import styled from 'styled-components'
import { Container, Notification } from '@redux-devtools/ui'
import { clearNotification } from '@redux-devtools/app/lib/esm/actions'
import Actions from '@redux-devtools/app/lib/esm/containers/Actions'
import Settings from './Settings'
import Header from './Header'

const StyledContainer = styled(Container)`overflow: hidden;`

function App() {
const section = useSelector((state) => state.section)
const theme = useSelector((state) => state.theme)
Expand All @@ -23,7 +26,7 @@ function App() {
}

return (
<Container themeData={theme}>
<StyledContainer themeData={theme}>
<Header section={section} />
{body}
{notification && (
Expand All @@ -34,7 +37,7 @@ function App() {
{notification.message}
</Notification>
)}
</Container>
</StyledContainer>
)
}

Expand Down

0 comments on commit fe18579

Please sign in to comment.