Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add app bar #3

Merged
merged 2 commits into from Jul 11, 2020
Merged

Add app bar #3

merged 2 commits into from Jul 11, 2020

Conversation

clarkngo
Copy link
Contributor

@clarkngo clarkngo commented Jul 10, 2020

This PR resolves #2

Error 1

Failed to compile. 
./src/Components/AppBar.js 
Line 11:21:  'useStyles' is not defined  no-undef 
Search for the keywords to learn more about each error.

image

Solution:
Changed to: const classes = makeStyles();

Error 2

Failed to compile.

./src/App.js
  Line 9:8:  'AppBar' is not defined  react/jsx-no-undef

Search for the keywords to learn more about each error.

Solution:
Added: import AppBar from './Components/AppBar';

Error 3

Failed to compile. 
./src/Components/AppBar.js Module not found: Can't resolve '@material-ui/icons/Menu' in '/Users/clarkngo/dev/team-collaboration/word-tracking-app-repos/word-tracking-app/src/Components'

Solution:
npm install @material-ui/icons
Resource: mui/material-ui#10571

@clarkngo clarkngo merged commit cb20c5e into master Jul 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'useStyles' is not defined no-undef
2 participants