feat: first commit
This commit is contained in:
7
src/store/actions/user.ts
Normal file
7
src/store/actions/user.ts
Normal file
@ -0,0 +1,7 @@
|
||||
import { UserInfo } from '@/types/user';
|
||||
|
||||
import { SET_USER_INFO, SET_BIND_PHONE } from '../constants';
|
||||
|
||||
export const setUserInfo = (value: Partial<UserInfo>) => ({ type: SET_USER_INFO, value });
|
||||
|
||||
export const setBindPhone = (value: UserInfo['isBindPhone']) => ({ type: SET_BIND_PHONE, value });
|
||||
Reference in New Issue
Block a user