Initialize toast hook in Profile component

cgen-4e3bad44d3f544089ec3134cd9550262
This commit is contained in:
Builder.io 2025-08-16 04:12:24 +00:00
parent 3f5a2f4cea
commit b605fe2d19

View file

@ -66,6 +66,7 @@ interface CrossSiteCommunication {
export default function Profile() {
const navigate = useNavigate();
const { user, profile, loading: authLoading, updateProfile } = useAuth();
const { success: toastSuccess, error: toastError } = useAethexToast();
const [isLoading, setIsLoading] = useState(true);
const [isSaving, setIsSaving] = useState(false);