20260626173529
This commit is contained in:
1 parent
b424369b4b
commit
5983d29128
91 files changed
+9236
-2095
No files matched your search
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user