From 982c29a27eeab1d1abcbfbed01107040e3a33058 Mon Sep 17 00:00:00 2001 From: keannu125 Date: Sun, 16 Apr 2023 20:08:48 +0800 Subject: [PATCH] Hotfix for empty notes prompt being broken --- src/Components/Notes/Notes.tsx | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/src/Components/Notes/Notes.tsx b/src/Components/Notes/Notes.tsx index a58d47d..5ba5651 100644 --- a/src/Components/Notes/Notes.tsx +++ b/src/Components/Notes/Notes.tsx @@ -38,18 +38,21 @@ export default function Notes() { } else if (notes.length === 0) { return ( - No notes exist yet. Make one!; - - { - navigation.navigate("New Note"); - }} - > - + - + + No notes exist yet. Create one! + + { + navigation.navigate("New Note"); + }} + > + + New note... - - + ); }