123456 |
- import { actionPromise } from "./actionPromise";
- import { findUser } from "./requests";
- export const actionFindUser = () => async (dispatch, getState) => {
- return await dispatch(actionPromise("findUser", findUser(getState()?.auth?.payload?.sub?.id)));
- };
|