From 35ea3a257462f25a0f99651aaa8b7a1697cfbe34 Mon Sep 17 00:00:00 2001 From: Safwan Nazir <101648420+safwannazir911@users.noreply.github.com> Date: Thu, 11 Jan 2024 13:59:05 +0530 Subject: [PATCH] Update App.tsx handleSubmit() should be inside a callback function to make it work properly. Otherwise there is an overload error(No overload matches this call.). --- passwordGenerator03/App.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/passwordGenerator03/App.tsx b/passwordGenerator03/App.tsx index 8de065a..2c9d98c 100644 --- a/passwordGenerator03/App.tsx +++ b/passwordGenerator03/App.tsx @@ -156,7 +156,7 @@ export default function App() { handleSubmit()} > Generate Password @@ -279,4 +279,4 @@ const styles = StyleSheet.create({ marginBottom: 12, color:'#000' }, -}); \ No newline at end of file +});