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