feat: upgrade performance

This commit is contained in:
TrèsAbhi committed 2025-09-01 18:16:41 -05:00
1 parent 4efdaaf7c9
commit b6c3fdc4e9
6 files changed
+21 -31

No files matched your search

@@ -8,7 +8,7 @@ import { memo, useCallback } from 'react';
import { awaitableAverageDefinitions } from '../../core/awaitables/averageDefinitions';
import { useAveragesExclusionRatio } from '../../hooks/useAveragesExclusionRatio';
import { useLocale } from '../../hooks/useLocale';
import { TankPerformanceEphemeral } from '../../stores/tankPerformanceEphemeral';
import { Performance } from '../../stores/performance';
import { StickyRowHeaderCell } from '../StickyRowHeaderCell';
interface AverageDefinitionsEntryWithId extends AverageDefinitionsEntry {
@@ -23,7 +23,7 @@ const averageDefinitions = await awaitableAverageDefinitions;
export const Total = memo<TotalProps>(
({ tanks }) => {
const playerCountPeriod = TankPerformanceEphemeral.use(
const playerCountPeriod = Performance.use(
(state) => state.playerCountPeriod,
);
const { strings, locale } = useLocale();