Add debug logging for childId
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
1c5c02ffbd
commit
e51853f335
1 changed files with 1 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ export default function AIChatPage() {
|
||||||
const [error, setError] = useState<string>("");
|
const [error, setError] = useState<string>("");
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
console.log("AI page: childId from useFamily:", childId);
|
||||||
if (childId) {
|
if (childId) {
|
||||||
fetchSessions();
|
fetchSessions();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue