diff --git a/App/components/Header.tsx b/App/components/Header.tsx index 2e8f43c..df097a9 100644 --- a/App/components/Header.tsx +++ b/App/components/Header.tsx @@ -74,7 +74,7 @@ export const Header: React.FC = ({ style={styles.questionMark} name="help-circle" size={24} - onPress={() => navigate('Onboarding')} + onPress={(): void => navigate('Onboarding')} /> ) : null} diff --git a/App/screens/HomeBluetooth.tsx b/App/screens/HomeBluetooth.tsx index 9906d5f..e8b4fe9 100644 --- a/App/screens/HomeBluetooth.tsx +++ b/App/screens/HomeBluetooth.tsx @@ -292,7 +292,7 @@ export const HomeBluetooth: React.FC<{ showHelp={true} navigationButton={{ title: 'new Home', - fn: () => { + fn: (): void => { navigation.navigate('Home'); }, }} diff --git a/App/screens/IDMatch.tsx b/App/screens/IDMatch.tsx index b110158..c9cb88e 100644 --- a/App/screens/IDMatch.tsx +++ b/App/screens/IDMatch.tsx @@ -1,4 +1,4 @@ -import React, {useState} from 'react'; +import React from 'react'; import {View, Text, Button, StyleSheet} from 'react-native'; import Icon from 'react-native-vector-icons/Feather'; import {StackNavigationProp} from '@react-navigation/stack'; @@ -218,7 +218,7 @@ export const IDMatch: React.FC<{ navigation.navigate('HomeBluetooth')} + onPress={(): void => navigation.navigate('HomeBluetooth')} />