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) });