feat: start of charts

This commit is contained in:
TrèsAbhi committed 2024-10-21 21:03:49 -05:00
1 parent 221492c645
commit 973d24a615
11 files changed
+98 -55

No files matched your search

@@ -1,12 +1,14 @@
import { Flex, Select, Text } from '@radix-ui/themes';
import { TankPerformancePersistent } from '../../stores/tankPerformancePersistent';
import { PlayerCountPeriod } from '../../stores/tankPerformancePersistent/constants';
import {
PlayerCountPeriod,
TankPerformanceEphemeral,
} from '../../stores/tankPerformanceEphemeral';
export function PlayerCountControl() {
const playerCountPeriod = TankPerformancePersistent.use(
const playerCountPeriod = TankPerformanceEphemeral.use(
(state) => state.playerCountPeriod,
);
const mutateTankPerformanceSort = TankPerformancePersistent.useMutation();
const mutateTankPerformanceSort = TankPerformanceEphemeral.useMutation();
return (
<Flex justify="center" align="center" gap="2">