await dispatch(loginUser(fields)).catch(() => actions.setSubmitting(false));
const onSubmit = async (fields, actions) => {
await dispatch(loginUser(fields));
actions.setSubmitting(false);
};
dispatch(userSlice.actions.setRole(getRole(accessToken)));
array.push(child.map(value) => ({ value })))
array.push(...child);