Revert "fix: Fixed the error with implementation of devDependancy (wdyr)"
This commit is contained in:
parent
1921b303e5
commit
0ac4dca135
@ -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,
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user