From 1118ae6faed3f144f3df292449639cfccf1479f5 Mon Sep 17 00:00:00 2001 From: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com> Date: Mon, 2 May 2022 22:45:31 -0300 Subject: [PATCH] Chore: Evaluate UserNotificationPreferencesView - TypeScript (#4079) --- app/views/UserNotificationPreferencesView/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/UserNotificationPreferencesView/index.tsx b/app/views/UserNotificationPreferencesView/index.tsx index b4c1c44d1..519297bd6 100644 --- a/app/views/UserNotificationPreferencesView/index.tsx +++ b/app/views/UserNotificationPreferencesView/index.tsx @@ -14,7 +14,7 @@ import { getUserSelector } from '../../selectors/login'; import sharedStyles from '../Styles'; import { OPTIONS } from './options'; import { ProfileStackParamList } from '../../stacks/types'; -import { INotificationPreferences, IUser } from '../../definitions'; +import { IApplicationState, INotificationPreferences, IUser } from '../../definitions'; import { Services } from '../../lib/services'; const styles = StyleSheet.create({ @@ -170,7 +170,7 @@ class UserNotificationPreferencesView extends React.Component< } } -const mapStateToProps = (state: any) => ({ +const mapStateToProps = (state: IApplicationState) => ({ user: getUserSelector(state) });