variables sin usar en nav y index

This commit is contained in:
Daniel Cortes
2020-06-23 18:58:48 -04:00
parent f98ed25ed4
commit 44b3e04cb7
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ import './Nav.scss';
import {useStateValue} from '../services/State'
export const Nav = (props) => {
const [context, dispatch] = useStateValue();
const context = useStateValue()[0];
const showLogin = () => {
return context.user.auth === false;