Skip to content

Commit

Permalink
fix: duplicate name
Browse files Browse the repository at this point in the history
  • Loading branch information
tresabhi committed Oct 2, 2023
1 parent b7b4035 commit 8aba19e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/app/embeds/session/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export default function SessionPage() {

const totalRowStats: Record<
CustomColumnDisplay,
Breakdown.RowStat | undefined
Breakdown.RowStatItem | undefined
> = {
battles: {
title: 'Battles',
Expand Down Expand Up @@ -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',
Expand Down
4 changes: 2 additions & 2 deletions src/components/Breakdown/components/Row.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -19,7 +19,7 @@ interface RowProps {
treeType?: TreeTypeEnum;
tankType?: TankType;

stats: (RowStat | undefined)[];
stats: (RowStatItem | undefined)[];
}

export function Row(props: RowProps) {
Expand Down

0 comments on commit 8aba19e

Please sign in to comment.