@@ -18,28 +18,28 @@ export default function TypewriterText({
1818 const startTimeRef = React . useRef ( null ) ;
1919
2020 // 🐛 Debug: Log when component mounts/unmounts
21- React . useEffect ( ( ) => {
22- console . log ( '🎭 [TypewriterText] Component MOUNTED:' , {
23- enabled,
24- textLength : text . length ,
25- timestamp : performance . now ( )
26- } ) ;
21+ // React.useEffect(() => {
22+ // console.log('🎭 [TypewriterText] Component MOUNTED:', {
23+ // enabled,
24+ // textLength: text.length,
25+ // timestamp: performance.now()
26+ // });
2727
28- return ( ) => {
29- console . log ( '🎭 [TypewriterText] Component UNMOUNTED:' , {
30- timestamp : performance . now ( )
31- } ) ;
32- } ;
33- // eslint-disable-next-line react-hooks/exhaustive-deps
34- } , [ ] ) ; // Empty deps = mount/unmount only (intentionally ignoring enabled/text)
28+ // return () => {
29+ // console.log('🎭 [TypewriterText] Component UNMOUNTED:', {
30+ // timestamp: performance.now()
31+ // });
32+ // };
33+ // // eslint-disable-next-line react-hooks/exhaustive-deps
34+ // }, []); // Empty deps = mount/unmount only (intentionally ignoring enabled/text)
3535
3636 // 🐛 Debug: Log when enabled flag changes
37- React . useEffect ( ( ) => {
38- console . log ( '🎭 [TypewriterText] enabled flag changed:' , {
39- enabled,
40- timestamp : performance . now ( )
41- } ) ;
42- } , [ enabled ] ) ;
37+ // React.useEffect(() => {
38+ // console.log('🎭 [TypewriterText] enabled flag changed:', {
39+ // enabled,
40+ // timestamp: performance.now()
41+ // });
42+ // }, [enabled]);
4343
4444 React . useEffect ( ( ) => {
4545 if ( ! enabled ) {
0 commit comments