From ca71f49b9cccb8ad83170b123eeaf9a6af7fc684 Mon Sep 17 00:00:00 2001 From: yyamashita Date: Thu, 14 May 2026 23:07:38 +0900 Subject: Remove unused template files home.tsx and welcome.tsx Routes not registered in routes.ts caused a persistent tsc error on the auto-generated +types/home module. Co-Authored-By: Claude Sonnet 4.6 --- app/routes/home.tsx | 13 -------- app/welcome/welcome.tsx | 89 ------------------------------------------------- 2 files changed, 102 deletions(-) delete mode 100644 app/routes/home.tsx delete mode 100644 app/welcome/welcome.tsx diff --git a/app/routes/home.tsx b/app/routes/home.tsx deleted file mode 100644 index 398e47c..0000000 --- a/app/routes/home.tsx +++ /dev/null @@ -1,13 +0,0 @@ -import type { Route } from "./+types/home"; -import { Welcome } from "../welcome/welcome"; - -export function meta({}: Route.MetaArgs) { - return [ - { title: "New React Router App" }, - { name: "description", content: "Welcome to React Router!" }, - ]; -} - -export default function Home() { - return ; -} diff --git a/app/welcome/welcome.tsx b/app/welcome/welcome.tsx deleted file mode 100644 index 8ac6e1d..0000000 --- a/app/welcome/welcome.tsx +++ /dev/null @@ -1,89 +0,0 @@ -import logoDark from "./logo-dark.svg"; -import logoLight from "./logo-light.svg"; - -export function Welcome() { - return ( -
-
-
-
- React Router - React Router -
-
-
- -
-
-
- ); -} - -const resources = [ - { - href: "https://reactrouter.com/docs", - text: "React Router Docs", - icon: ( - - - - ), - }, - { - href: "https://rmx.as/discord", - text: "Join Discord", - icon: ( - - - - ), - }, -]; -- cgit v1.2.3