ristekoss / susunjadwal

SusunJadwal - Universitas Indonesia's #1 Student Course Planner App.
http://susunjadwal.cs.ui.ac.id/
34 stars 16 forks source link

Fix issue #38 - visible user menu on 404 page when user is not login #39

Closed muhsatrio closed 4 years ago

muhsatrio commented 4 years ago

Fix issue #38

Edit frontend/src/containers/Header/index.js

  1. Import auth state from redux
  2. Move JSX code for menu and the checking for isMobile are included to a variable named menuPage
  3. Added the checking for visible user menu if auth is true