Chore: Evaluate UserPreferencesView - TypeScript (#4078)

This commit is contained in:
Reinaldo Neto 2022-05-02 22:34:56 -03:00 committed by GitHub
parent 82bca54575
commit 3ce32bbfd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ const UserPreferencesView = ({ navigation }: IUserPreferencesViewProps): JSX.Ele
navigation.setOptions({
title: I18n.t('Preferences')
});
}, []);
}, [navigation]);
const navigateToScreen = (screen: keyof ProfileStackParamList) => {
logEvent(events.UP_GO_USER_NOTIFICATION_PREF);