From 9f4299004afcc3f4bc6cb59c2e2d03a72d637c54 Mon Sep 17 00:00:00 2001 From: zimplexing Date: Wed, 16 Jul 2025 21:28:12 +0800 Subject: [PATCH] refactor: comment out unused components in layout and detail screens for cleaner code --- app/_layout.tsx | 2 +- app/detail.tsx | 4 ++-- app/index.tsx | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/_layout.tsx b/app/_layout.tsx index 4041c1f..70115df 100644 --- a/app/_layout.tsx +++ b/app/_layout.tsx @@ -63,7 +63,7 @@ export default function RootLayout() { - + {/* */} diff --git a/app/detail.tsx b/app/detail.tsx index 1f8e88e..bcc6382 100644 --- a/app/detail.tsx +++ b/app/detail.tsx @@ -87,10 +87,10 @@ export default function DetailScreen() { {detail.year} {detail.type_name} - + {/* {isFavorited ? "已收藏" : "收藏"} - + */} {detail.desc} diff --git a/app/index.tsx b/app/index.tsx index 4c0b213..f38abc5 100644 --- a/app/index.tsx +++ b/app/index.tsx @@ -124,9 +124,9 @@ export default function HomeScreen() { - router.push("/favorites")} variant="ghost"> + {/* router.push("/favorites")} variant="ghost"> - + */} router.push({ pathname: "/search" })}