diff --git a/app/App.tsx b/app/App.tsx index 2623c2571..1718838be 100644 --- a/app/App.tsx +++ b/app/App.tsx @@ -104,11 +104,11 @@ function App(): JSX.Element { }; - const handleDisclosureChange = (field: keyof typeof disclosure) => { + const handleDisclosureChange = (field: string) => { setDisclosure( { ...disclosure, - [field]: !disclosure[field] + [field]: !disclosure[field as keyof typeof disclosure] }); }; diff --git a/app/src/screens/MainScreen.tsx b/app/src/screens/MainScreen.tsx index db5f4edb9..c0a96a23e 100644 --- a/app/src/screens/MainScreen.tsx +++ b/app/src/screens/MainScreen.tsx @@ -332,7 +332,7 @@ const MainScreen: React.FC = ({ Help -

How to scan your passport ?

+

How to scan your passport ?

1. Find the location of the NFC chip of your passport. If you are struggling this post will help you to find it.