fix: duplicate name

This commit is contained in:
TrèsAbhi committed 2023-10-01 19:02:47 -05:00
1 parent b7b4035492
commit 8aba19e05b
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -142,7 +142,7 @@ export default function SessionPage() {
const totalRowStats: Record< const totalRowStats: Record<
CustomColumnDisplay, CustomColumnDisplay,
Breakdown.RowStat | undefined Breakdown.RowStatItem | undefined
> = { > = {
battles: { battles: {
title: 'Battles', title: 'Battles',
@@ -229,7 +229,7 @@ export default function SessionPage() {
.map(({ stats, tankopedia, career, careerWN8, currentWN8 }) => { .map(({ stats, tankopedia, career, careerWN8, currentWN8 }) => {
const rowStats: Record< const rowStats: Record<
CustomColumnDisplay, CustomColumnDisplay,
Breakdown.RowStat | undefined Breakdown.RowStatItem | undefined
> = { > = {
battles: { battles: {
title: 'Battles', title: 'Battles',
+2 -2
View File
@@ -4,7 +4,7 @@ import { theme } from '../../../stitches.config';
import { TREE_TYPE_ICONS, TreeTypeEnum } from '../../Tanks'; import { TREE_TYPE_ICONS, TreeTypeEnum } from '../../Tanks';
import { RowStat } from './RowStat'; import { RowStat } from './RowStat';
export interface RowStat { export interface RowStatItem {
title: string; title: string;
current?: number | string; current?: number | string;
career?: number | string; career?: number | string;
@@ -19,7 +19,7 @@ interface RowProps {
treeType?: TreeTypeEnum; treeType?: TreeTypeEnum;
tankType?: TankType; tankType?: TankType;
stats: (RowStat | undefined)[]; stats: (RowStatItem | undefined)[];
} }
export function Row(props: RowProps) { export function Row(props: RowProps) {