Chore: Evaluate UserNotificationPreferencesView - TypeScript (#4079)
This commit is contained in:
parent
3ce32bbfd8
commit
1118ae6fae
|
@ -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)
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue