This commit is contained in:
J Francisco Rader committed 2020-08-22 06:14:22 -03:00
1 parent a21497153e
commit 1e536891fc
1 file changed
+1 -1
+1 -1
View File
@@ -27,7 +27,7 @@ export const NavigationBar = ({ notifications = [] }) => {
return (
<BottomNavigation
className={classes.root}
onChange={e => e.target.value === 'back' ? history.goBack() : history.push('/')}
onChange={(_e, value) => value === 'back' ? history.goBack() : history.push('/')}
>
<BottomNavigationAction
label="Back"