import { IUserInfo } from '../../../../Application/DTOs/UsersDto/UsersDto.type'
import { ISetUserResponse, SET_LOGIN_RESPONSE } from './type'



export const setUserLoginResponse = (response: IUserInfo | null): ISetUserResponse => ({
    type: SET_LOGIN_RESPONSE,
    payload: response
})