diff --git a/app/soapbox/main.js b/app/soapbox/main.js index 3802874df..91822efef 100644 --- a/app/soapbox/main.js +++ b/app/soapbox/main.js @@ -1,6 +1,5 @@ 'use strict'; -import './wdyr'; import './precheck'; // FIXME: Push notifications are temporarily removed // import * as registerPushNotifications from './actions/push_notifications'; diff --git a/app/soapbox/wdyr.js b/app/soapbox/wdyr.js deleted file mode 100644 index 13470ce33..000000000 --- a/app/soapbox/wdyr.js +++ /dev/null @@ -1,7 +0,0 @@ -import React from 'react'; -import { NODE_ENV } from 'soapbox/build_config'; - -if (NODE_ENV === 'development') { - const whyDidYouRender = require('@welldone-software/why-did-you-render'); - whyDidYouRender(React); -} diff --git a/package.json b/package.json index 7a1ee4e28..5e4b10626 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,6 @@ "@sentry/browser": "^6.12.0", "@sentry/react": "^6.12.0", "@sentry/tracing": "^6.12.0", - "@welldone-software/why-did-you-render": "^6.2.0", "array-includes": "^3.0.3", "autoprefixer": "^10.0.0", "axios": "^0.21.0", diff --git a/yarn.lock b/yarn.lock index 958fca38f..1da4cb448 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2529,13 +2529,6 @@ resolved "https://registry.yarnpkg.com/@webpack-cli/serve/-/serve-1.5.2.tgz#ea584b637ff63c5a477f6f21604b5a205b72c9ec" integrity sha512-vgJ5OLWadI8aKjDlOH3rb+dYyPd2GTZuQC/Tihjct6F9GpXGZINo3Y/IVuZVTM1eDQB+/AOsjPUWH/WySDaXvw== -"@welldone-software/why-did-you-render@^6.2.0": - version "6.2.0" - resolved "https://registry.yarnpkg.com/@welldone-software/why-did-you-render/-/why-did-you-render-6.2.0.tgz#a053e63f45adb57161c723dee4b005769ea1b64f" - integrity sha512-ViwaE09Vgb0yXzyZuGTWCmWy/nBRAEGyztMdFYuxIgmL8yoXX5TVMCfieiJGdRQQPiDUznlYmcu0lu8kN1lwtQ== - dependencies: - lodash "^4" - "@xtuc/ieee754@^1.2.0": version "1.2.0" resolved "https://registry.yarnpkg.com/@xtuc/ieee754/-/ieee754-1.2.0.tgz#eef014a3145ae477a1cbc00cd1e552336dceb790" @@ -7811,7 +7804,7 @@ lodash.uniq@^4.5.0: resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M= -lodash@4.x, lodash@^4, lodash@^4.17.21, lodash@^4.7.0: +lodash@4.x, lodash@^4.17.21, lodash@^4.7.0: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==