From 5c4c18a6fc84eb74396abdb42a6bdaadb436162b Mon Sep 17 00:00:00 2001 From: Vick Scarlet Date: Sun, 16 Aug 2026 00:54:40 +0800 Subject: [PATCH] update: rename component --- apps/web/src/Game.tsx | 2 +- apps/web/src/components/Replaced.tsx | 12 ++++++------ apps/web/src/components/Talent.tsx | 8 ++++---- apps/web/src/containers/Chara.css | 2 +- apps/web/src/containers/Chara.tsx | 4 ++-- apps/web/src/containers/Home.tsx | 2 +- apps/web/src/containers/{TalentPick.css => Pick.css} | 0 apps/web/src/containers/{TalentPick.tsx => Pick.tsx} | 10 +++++----- apps/web/src/containers/Summary.tsx | 4 ++-- 9 files changed, 22 insertions(+), 22 deletions(-) rename apps/web/src/containers/{TalentPick.css => Pick.css} (100%) rename apps/web/src/containers/{TalentPick.tsx => Pick.tsx} (86%) diff --git a/apps/web/src/Game.tsx b/apps/web/src/Game.tsx index 2439e15..0968c30 100644 --- a/apps/web/src/Game.tsx +++ b/apps/web/src/Game.tsx @@ -4,7 +4,7 @@ import { useStep, Step } from '@remake/hooks' import Home from '@/containers/Home' import Mode from '@/containers/Mode' import Chara from '@/containers/Chara' -import Pick from '@/containers/TalentPick' +import Pick from '@/containers/Pick' import Alloc from '@/containers/Alloc' import Play from '@/containers/Play' import Summary from '@/containers/Summary' diff --git a/apps/web/src/components/Replaced.tsx b/apps/web/src/components/Replaced.tsx index 933112f..650dfa7 100644 --- a/apps/web/src/components/Replaced.tsx +++ b/apps/web/src/components/Replaced.tsx @@ -1,23 +1,23 @@ -import { type Talent, talents } from '@remake/data' -import TalentComponent from './Talent' +import { type Talent as T, talents } from '@remake/data' +import Talent from './Talent' import './Replaced.css' export interface TalentProps { - id: Talent['id'] - chains?: Talent['id'][] + id: T['id'] + chains?: T['id'][] } export function Replaced({ id, chains }: TalentProps) { return (