PromucFlow_constructor/app/client/src/actions/authActions.ts

8 lines
262 B
TypeScript
Raw Normal View History

import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
import type { ApiResponse } from "api/ApiResponses";
export const getCurrentUser = (userProfile?: ApiResponse) => ({
type: ReduxActionTypes.FETCH_USER_INIT,
payload: { userProfile },
});