Chore: Evaluate UserNotificationPreferencesView - TypeScript (#4079)

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

View File

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