20260626173529

This commit is contained in:
oneao committed 2026-06-26 17:35:29 +08:00
1 parent b424369b4b
commit 5983d29128
91 files changed
+9236 -2095

No files matched your search

+4
View File
@@ -14,6 +14,8 @@ interface FamilyState {
clear: () => void;
inFamily: () => boolean;
getFamilyId: () => number;
}
const defaultFamily: Family = {
@@ -40,6 +42,8 @@ export const useFamilyStore = create<FamilyState>()(
return currentFamily.family_id !== 0;
},
getFamilyId: () => get().currentFamily.family_id,
}),
{
name: "family-storage",