refactor(striker-ui): align all axios error var naming

This commit is contained in:
Tsu-ba-me 2024-05-16 16:41:20 -04:00
parent 237e647cf3
commit cdb2896984
2 changed files with 4 additions and 4 deletions

View File

@ -558,8 +558,8 @@ const ManageManifestPanel: FC = () => {
.then(({ data }) => {
setHostOverviews(data);
})
.catch((apiError) => {
handleAPIError(apiError);
.catch((error) => {
handleAPIError(error);
})
.finally(() => {
setIsLoadingHostOverviews(false);

View File

@ -113,8 +113,8 @@ const useFormUtils = <
onSuccess?.call(null);
})
.catch((apiError) => {
const emsg = handleAPIError(apiError);
.catch((error) => {
const emsg = handleAPIError(error);
emsg.children = getErrorMsg(emsg.children);