fix close side panel

This commit is contained in:
Barry Gitarts 2019-12-04 12:48:33 -05:00 committed by Barry G
parent a0223d6ade
commit 256d907f35
1 changed files with 3 additions and 3 deletions

View File

@ -236,7 +236,7 @@ function PersistentDrawerLeft({ loading, account, children, enableEthereum, loca
const queryParams = queryString.parse(search)
if (queryParams.logs) enableLogs()
setQueryParams({ ...queryParams })
}, [search])
}, [])
useEffect(() => {
const ack = sessionStorage.getItem('disclaimer')
@ -251,11 +251,11 @@ function PersistentDrawerLeft({ loading, account, children, enableEthereum, loca
}
const handleDrawerOpen = () => {
setOpen({ open: true })
setOpen(true)
};
const handleDrawerClose = () => {
setOpen({ open: false })
setOpen(false)
};
const closeDisclaimer = () => {