You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm 1:57:45 into the video and as yet even though like you, MenuItem and Menu are imported/declared - their value is never read. I just have warnings in the console. The app works, seems so far these are not added into the UI on the NavBar component. Not sure if we will come back to it later in the class or not. If by the end we don't use them, I'll just remove them from the import.
import React from 'react';
import { AppBar, Toolbar, IconButton, Badge, MenuItem, Menu, Typography } from '@material-ui/core';
import { ShoppingCart } from '@material-ui/icons';
import { Link, useLocation } from 'react-router-dom'
import logo from '../../assets/Star Image.png';
import useStyles from './styles';
const Navbar = ({ totalItems }) => {
}
export default Navbar
The text was updated successfully, but these errors were encountered: