diff --git a/new-lamassu-admin/package-lock.json b/new-lamassu-admin/package-lock.json index 3034a270..21a07601 100644 --- a/new-lamassu-admin/package-lock.json +++ b/new-lamassu-admin/package-lock.json @@ -60,7 +60,6 @@ }, "devDependencies": { "@vitejs/plugin-react-swc": "^3.7.2", - "@welldone-software/why-did-you-render": "^3.3.9", "esbuild-plugin-react-virtualized": "^1.0.4", "eslint": "^7.19.0", "eslint-config-prettier": "^6.7.0", @@ -5507,18 +5506,6 @@ "@xtuc/long": "4.2.2" } }, - "node_modules/@welldone-software/why-did-you-render": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/@welldone-software/why-did-you-render/-/why-did-you-render-3.6.0.tgz", - "integrity": "sha512-UQEfDlsAm2xgPObUvlBdqp0lph+at1Z+KPYtl33gPGKZx/yPFQEZVgpycRAhNyQjmaFbqhIqub7X/y5v/vAlmw==", - "dev": true, - "dependencies": { - "lodash": "^4" - }, - "peerDependencies": { - "react": ">=16.12" - } - }, "node_modules/@wry/context": { "version": "0.4.4", "resolved": "https://registry.npmjs.org/@wry/context/-/context-0.4.4.tgz", diff --git a/new-lamassu-admin/package.json b/new-lamassu-admin/package.json index c5f8200c..fbbf6a5a 100644 --- a/new-lamassu-admin/package.json +++ b/new-lamassu-admin/package.json @@ -53,7 +53,6 @@ }, "devDependencies": { "@vitejs/plugin-react-swc": "^3.7.2", - "@welldone-software/why-did-you-render": "^3.3.9", "esbuild-plugin-react-virtualized": "^1.0.4", "eslint": "^7.19.0", "eslint-config-prettier": "^6.7.0", diff --git a/new-lamassu-admin/src/App.jsx b/new-lamassu-admin/src/App.jsx index ede8f396..e4c00db2 100644 --- a/new-lamassu-admin/src/App.jsx +++ b/new-lamassu-admin/src/App.jsx @@ -28,11 +28,6 @@ import global from 'src/styling/global' import theme from 'src/styling/theme' import { backgroundColor, mainWidth } from 'src/styling/variables' -if (process.env.NODE_ENV !== 'production') { - // const whyDidYouRender = require('@welldone-software/why-did-you-render') - // whyDidYouRender(React) -} - const jss = create({ plugins: [extendJss(), ...jssPreset().plugins] })