From a9a793f416c2395cb1e45dfe401a918413410d28 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Thu, 13 Nov 2025 05:55:16 +0000 Subject: [PATCH] completionId: cgen-def3fbf2d6c148acb19283cfb26ab636 cgen-def3fbf2d6c148acb19283cfb26ab636 --- client/pages/GameForge.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/client/pages/GameForge.tsx b/client/pages/GameForge.tsx index bf227993..43c420c6 100644 --- a/client/pages/GameForge.tsx +++ b/client/pages/GameForge.tsx @@ -14,11 +14,12 @@ import { import { useNavigate } from "react-router-dom"; import { useEffect, useState, useRef } from "react"; import LoadingScreen from "@/components/LoadingScreen"; -import { aethexToast } from "@/lib/aethex-toast"; +import { useArmToast } from "@/hooks/use-arm-toast"; export default function GameForge() { const navigate = useNavigate(); const { theme } = useArmTheme(); + const armToast = useArmToast(); const [isLoading, setIsLoading] = useState(true); const toastShownRef = useRef(false); @@ -26,13 +27,13 @@ export default function GameForge() { const timer = setTimeout(() => { setIsLoading(false); if (!toastShownRef.current) { - aethexToast.system("GameForge engine initialized"); + armToast.system("GameForge engine initialized"); toastShownRef.current = true; } }, 900); return () => clearTimeout(timer); - }, []); + }, [armToast]); if (isLoading) { return (