All files / web/src/components dev-tools-init.tsx

90.9% Statements 10/11
100% Branches 3/3
100% Functions 1/1
90.9% Lines 10/11

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18    1x   1x 8x 6x   1x   1x 1x 8x     8x 8x  
'use client';
 
import { useEffect } from 'react';
 
export function DevToolsInit() {
  useEffect(() => {
    if (process.env.NODE_ENV === 'development') {
      // Dynamically import and initialize performance devtools
      import('@web/utils/performance-devtools').catch((error) => {
        console.warn('Failed to load performance devtools:', error);
      });
    }
  }, []);
 
  // This component renders nothing
  return null;
}