fix: Import useEffect to fix React is not defined error
Some checks failed
CI/CD Pipeline / Lint and Test (push) Has been cancelled
CI/CD Pipeline / E2E Tests (push) Has been cancelled
CI/CD Pipeline / Build Application (push) Has been cancelled

Added missing useEffect import in AppShell.tsx. The debug logging code
was using useEffect but it wasn't imported, causing the app to crash.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-10-04 09:23:11 +00:00
parent f083e3ed94
commit 0519740fc1
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
'use client';
import { useState } from 'react';
import { useState, useEffect } from 'react';
import {
Box,
Container,
@@ -38,7 +38,7 @@ export const AppShell = ({ children }: AppShellProps) => {
const [anchorEl, setAnchorEl] = useState<null | HTMLElement>(null);
// Debug: Log user photo changes
React.useEffect(() => {
useEffect(() => {
console.log('👤 User updated in AppShell:', {
name: user?.name,
hasPhoto: !!user?.photoUrl,