From 979b0abbff7872eedf0aa2baea15dd46382d348e Mon Sep 17 00:00:00 2001 From: David Westgate Date: Sun, 23 Feb 2025 15:04:49 -0800 Subject: [PATCH 1/2] 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 - Date: Sun, 23 Feb 2025 15:05:01 -0800 Subject: [PATCH 2/2] gitignore coverage --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 3387e8f..55c8749 100644 --- a/.gitignore +++ b/.gitignore @@ -37,4 +37,5 @@ yarn-error.* app-example android -.env \ No newline at end of file +.env +coverage \ No newline at end of file -- 2.39.5