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;

View File

@@ -19,7 +19,7 @@ import {ReleaseView} from "./views/Release";
import {Recomended} from "./views/Recomended";
import {SongView} from "./views/Song";
import {Grid, RowCol} from './components/Grid';
import {AuthCallback, AuthLogin, AuthLogout} from "./components/Auth";
import {AuthLogin, AuthLogout} from "./components/Auth";
const Main = (props) => {
const navigate = (query) => props.history.push(`/search?query=${query}`);