diff --git a/app/actions/selectedUsers.ts b/app/actions/selectedUsers.ts index 369808d0f..69ca5834f 100644 --- a/app/actions/selectedUsers.ts +++ b/app/actions/selectedUsers.ts @@ -1,10 +1,10 @@ import { Action } from 'redux'; -import { IUser } from '../definitions'; +import { ISelectedUser } from '../reducers/selectedUsers'; import * as types from './actionsTypes'; type User = { - user: IUser; + user: ISelectedUser; }; type IAction = Action & User; @@ -15,14 +15,14 @@ interface SetLoading extends Action { export type IActionSelectedUsers = IAction & SetLoading; -export function addUser(user: IUser): IAction { +export function addUser(user: ISelectedUser): IAction { return { type: types.SELECTED_USERS.ADD_USER, user }; } -export function removeUser(user: IUser): IAction { +export function removeUser(user: ISelectedUser): IAction { return { type: types.SELECTED_USERS.REMOVE_USER, user