chore: console react version (#511)

This commit is contained in:
Awais Ansari
2023-05-08 14:53:05 +05:00
committed by GitHub
parent 7ceaea1fc1
commit 8e68d3ab60

View File

@@ -42,6 +42,7 @@ function onRenderCallback(
function enableProfiler() {
console.log('Enabling React Profiler');
console.log('React versoion: ', React.version);
if (
process.env.NODE_ENV === 'production'
&& typeof window !== 'undefined'