diff --git a/app/views/SelectedUsersView.tsx b/app/views/SelectedUsersView.tsx index 4634bfa7e..e6c1b19aa 100644 --- a/app/views/SelectedUsersView.tsx +++ b/app/views/SelectedUsersView.tsx @@ -29,7 +29,15 @@ import sharedStyles from './Styles'; const ITEM_WIDTH = 250; const getItemLayout = (_: any, index: number) => ({ length: ITEM_WIDTH, offset: ITEM_WIDTH * index, index }); -type State = { +interface ISelectedUsersViewState { + maxUsers?: number; + search: IUser[]; + chats: IUser[]; +} + +interface ISelectedUsersViewProps extends BaseScreen { + route: RouteProp; + // REDUX STATE users: IUser[]; loading: boolean; user: { @@ -39,16 +47,6 @@ type State = { name: string; }; baseUrl: string; -}; - -interface ISelectedUsersViewState { - maxUsers?: number; - search: IUser[]; - chats: IUser[]; -} - -interface ISelectedUsersViewProps extends BaseScreen, State { - route: RouteProp; } class SelectedUsersView extends React.Component {