feat: settings basework

This commit is contained in:
TrèsAbhi committed 2024-01-06 17:59:31 -06:00
1 parent 6753a72d97
commit 857cba902a
2 files changed
+34 -15

No files matched your search

+2
View File
@@ -25,6 +25,7 @@ type Tankopedia = {
gunPitch: number;
controlsEnabled: boolean;
};
showSettings: boolean;
};
export const useTankopedia = create<Tankopedia>()(() => ({
@@ -45,6 +46,7 @@ export const useTankopedia = create<Tankopedia>()(() => ({
turretYaw: 0,
controlsEnabled: true,
},
showSettings: false,
}));
export default function mutateTankopedia(recipe: (draft: Tankopedia) => void) {