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 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 -