From 3ce32bbfd806ffcddfc33114e76abb8861736dbc Mon Sep 17 00:00:00 2001 From: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com> Date: Mon, 2 May 2022 22:34:56 -0300 Subject: [PATCH] Chore: Evaluate UserPreferencesView - TypeScript (#4078) --- app/views/UserPreferencesView/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/UserPreferencesView/index.tsx b/app/views/UserPreferencesView/index.tsx index 7d894e426..b178406f4 100644 --- a/app/views/UserPreferencesView/index.tsx +++ b/app/views/UserPreferencesView/index.tsx @@ -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);