diff --git a/app/welcome/welcome.tsx b/app/details/stats.tsx similarity index 99% rename from app/welcome/welcome.tsx rename to app/details/stats.tsx index 0441edc..f682da9 100644 --- a/app/welcome/welcome.tsx +++ b/app/details/stats.tsx @@ -11,7 +11,7 @@ const sk = await fetch(`${baseUrl}/characters/collateral/skills.json`) .then(r => r.json()); -export function Welcome() { +export function Stats() { const [stats, setStats] = useState(st); const [skills, setSkills] = useState(sk) diff --git a/app/routes/home.tsx b/app/routes/home.tsx index 08b3878..35dbf36 100644 --- a/app/routes/home.tsx +++ b/app/routes/home.tsx @@ -1,5 +1,4 @@ import type { Route } from "./+types/home"; -import { Welcome } from "../welcome/welcome"; import { Awareness } from "../skills/awareness"; import { Body } from "../skills/body"; import { Control } from "../skills/control"; @@ -10,6 +9,7 @@ import { Ranged } from "../skills/ranged" import { Social } from "../skills/social" import { Technique } from "../skills/technique" import { Details } from "../details/details" +import { Stats } from "../details/stats" import { Humanity } from "../details/humanity" import { Health } from "../details/health" @@ -43,7 +43,7 @@ export default function Home() { -
+