feat: migrated duel store

This commit is contained in:
TrèsAbhi committed 2024-07-09 20:35:36 -05:00
1 parent eaaea114a0
commit 332c1787f4
32 files changed
+223 -191

No files matched your search

@@ -1,9 +1,9 @@
import { Heading, Text } from '@radix-ui/themes';
import PageWrapper from '../../../../../components/PageWrapper';
import { useDuel } from '../../../../../stores/duel';
import * as Duel from '../../../../../stores/duel';
export function HistorySection() {
const tank = useDuel((state) => state.protagonist!.tank);
const tank = Duel.use((state) => state.protagonist!.tank);
if (!tank.description) return null;