Revert "fix: Fixed the error with implementation of devDependancy (wdyr)"

This commit is contained in:
Anton Georgiev 2021-10-05 11:00:07 -04:00 committed by GitHub
parent 1921b303e5
commit 0ac4dca135
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,12 +11,9 @@ import React from 'react';
*/
const devDependancyWDYR = '@welldone-software/why-did-you-render';
if (process.env.NODE_ENV === 'development') {
const whyDidYouRender = require(devDependancyWDYR);
const whyDidYouRender = require('@welldone-software/why-did-you-render');
whyDidYouRender(React, {
trackAllPureComponents: false,
});
}