Augmint / augmint-web

Augmint Web Frontend
http://www.augmint.org
GNU Affero General Public License v3.0
17 stars 8 forks source link

fix compiler warnings #734

Closed szerintedmi closed 4 years ago

szerintedmi commented 4 years ago

Netlify deploys started to fail on compiler warnings. The following warnings are resolved to make deploy time compile pass:

Treating warnings as errors because process.env.CI = true.
Most CI servers set it automatically.

Failed to compile.

./src/containers/loan/components/LoanListDetails.js
  Line 2:  'NavLink' is defined but never used  no-unused-vars
./src/containers/underthehood/components/LoanManagerInfo.js
  Line 4:  'Tokens' is defined but never used  no-unused-vars
./src/containers/underthehood/LoansInfoGroup.js
  Line 5:  'stringify' is defined but never used  no-unused-vars
./src/modules/loanManagerProvider.js
  Line 8:  'fetchAllLoans' is defined but never used  no-unused-vars
./src/components/augmint-ui/icon/index.js
  Line 90:  Expected a 'break' statement before 'default'  no-fallthrough
szerintedmi commented 4 years ago

Deploy preview for augmint ready!

Built with commit 6a5d7527aabce1f22cb4ff9b4eb9bb436fbb085c

https://deploy-preview-734--augmint.netlify.app