From 979b0abbff7872eedf0aa2baea15dd46382d348e Mon Sep 17 00:00:00 2001 From: David Westgate Date: Sun, 23 Feb 2025 15:04:49 -0800 Subject: [PATCH] remove redundant title --- app/_layout.tsx | 8 +++++--- app/index.tsx | 5 +---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/app/_layout.tsx b/app/_layout.tsx index d2a8b0b..c3648ac 100644 --- a/app/_layout.tsx +++ b/app/_layout.tsx @@ -1,5 +1,7 @@ import { Stack } from "expo-router"; +import React from "react"; -export default function RootLayout() { - return ; -} +const RootLayout: React.FC = () => ( + +); +export default RootLayout; diff --git a/app/index.tsx b/app/index.tsx index f1bfc4a..775134e 100644 --- a/app/index.tsx +++ b/app/index.tsx @@ -6,7 +6,7 @@ import ChipsSelector from "@/components/ChipsSelector"; import ChipDistributionSummary from "@/components/ChipDistributionSummary"; import ChipDetection from "@/components/ChipDetection"; -const IndexScreen = () => { +const IndexScreen: React.FC = () => { const [playerCount, setPlayerCount] = useState(2); const [buyInAmount, setBuyInAmount] = useState(null); const [numberOfChips, setNumberOfChips] = useState(5); @@ -34,9 +34,6 @@ const IndexScreen = () => { return ( - - Poker Chip Helper -