
> lms-frontend@0.1.0 build
> react-scripts build

Creating an optimized production build...
Browserslist: browsers data (caniuse-lite) is 8 months old. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
Browserslist: browsers data (caniuse-lite) is 8 months old. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
Compiled with warnings.

[eslint] 
src/App.js
  Line 62:7:   'LearnerRoute' is assigned a value but never used   no-unused-vars
  Line 116:7:  'SubAdminRoute' is assigned a value but never used  no-unused-vars

src/pages/AdminDashboard.js
  Line 212:9:  'handleUserStatusToggle' is assigned a value but never used  no-unused-vars

src/pages/Announcements.js
  Line 9:11:  'user' is assigned a value but never used                                                                              no-unused-vars
  Line 19:6:  React Hook useEffect has a missing dependency: 'fetchAnnouncements'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

src/pages/AssignmentSubmit.js
  Line 9:11:  'user' is assigned a value but never used      no-unused-vars
  Line 10:9:  'navigate' is assigned a value but never used  no-unused-vars

src/pages/Assignments.js
  Line 93:9:  'getDueDate' is assigned a value but never used  no-unused-vars

src/pages/Checkout.js
  Line 24:6:  React Hook useEffect has a missing dependency: 'fetchCourse'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

src/pages/CourseDetail.js
  Line 106:6:  React Hook useEffect has a missing dependency: 'canManageCourse'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

src/pages/Forums.js
  Line 18:6:  React Hook useEffect has a missing dependency: 'fetchData'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

src/pages/Leaderboard.js
  Line 21:6:  React Hook useEffect has a missing dependency: 'fetchLeaderboard'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

src/pages/ManageAnnouncements.js
  Line 9:9:   'navigate' is assigned a value but never used                                                                 no-unused-vars
  Line 34:6:  React Hook useEffect has a missing dependency: 'fetchData'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

src/pages/QuestionDetail.js
  Line 17:6:  React Hook useEffect has a missing dependency: 'fetchQuestion'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

src/pages/QuizManage.js
  Line 10:11:  'user' is assigned a value but never used  no-unused-vars

src/pages/TakeQuiz.js
  Line 72:6:  React Hook useEffect has a missing dependency: 'handleSubmit'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

File sizes after gzip:

  138.36 kB         build/static/js/main.846dc0a8.js
  38.47 kB (+34 B)  build/static/css/main.0bc8c385.css

The project was built assuming it is hosted at /.
You can control this with the homepage field in your package.json.

The build folder is ready to be deployed.
You may serve it with a static server:

  npm install -g serve
  serve -s build

Find out more about deployment here:

  https://cra.link/deployment

