update: game core flow pages

This commit is contained in:
Vick Scarlet
2026-08-12 02:38:37 +08:00
parent 5d50a4ea37
commit cd339c2103
34 changed files with 890 additions and 768 deletions
+2
View File
@@ -4,6 +4,8 @@ import type { ProfileState } from '@remake/core'
const profileAtom = atom<ProfileState | null>(null)
export const useRawProfile = () => useAtom(profileAtom)
export const useProfile = () => {
const [profile, setProfile] = useAtom(profileAtom)
if (!profile) throw new Error('Profile is not loaded')