From c1a2f5baa2e21d924965a790e0a7d7c0bc3bb970 Mon Sep 17 00:00:00 2001 From: K Date: Sat, 23 Nov 2024 23:08:56 +0000 Subject: [PATCH] onSubmitEditing={handleAddNote} --- nr-app/src/components/Map.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/nr-app/src/components/Map.tsx b/nr-app/src/components/Map.tsx index 7601341..d47f592 100644 --- a/nr-app/src/components/Map.tsx +++ b/nr-app/src/components/Map.tsx @@ -237,6 +237,7 @@ export default function Map() { placeholder="Enter your note" value={note} onChangeText={setNote} + onSubmitEditing={handleAddNote} />