MorganBergen / clarity

Advanced ML for Nutritional Analysis and Healthcare Management
1 stars 0 forks source link

remove `eslint` `WARNING` #49

Closed MorganBergen closed 3 weeks ago

MorganBergen commented 3 weeks ago

remove unused imports

or reuse within components

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

WARNING in [eslint]
src/components/Logging.js
  Line 3:10:   'Link' is defined but never used                                                                                    no-unused-vars
  Line 11:8:   'List' is defined but never used                                                                                    no-unused-vars
  Line 12:8:   'Divider' is defined but never used                                                                                 no-unused-vars
  Line 13:8:   'ListItem' is defined but never used                                                                                no-unused-vars
  Line 14:8:   'ListItemIcon' is defined but never used                                                                            no-unused-vars
  Line 15:8:   'ListItemText' is defined but never used                                                                            no-unused-vars
  Line 16:8:   'InboxIcon' is defined but never used                                                                               no-unused-vars
  Line 17:8:   'MailIcon' is defined but never used                                                                                no-unused-vars
  Line 24:10:  'imageUrl' is assigned a value but never used                                                                       no-unused-vars
  Line 26:10:  'uploadSuccess' is assigned a value but never used                                                                  no-unused-vars
  Line 29:23:  'setCurrentDate' is assigned a value but never used                                                                 no-unused-vars
  Line 44:6:   React Hook useEffect has a missing dependency: 'fetchUserImages'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

src/components/MainDashboard.js
  Line 2:15:  'Typography' is defined but never used  no-unused-vars

webpack compiled with 1 warning