saleor-dashboard/src/utils/errors/staff.ts

14 lines
343 B
TypeScript
Raw Normal View History

import { StaffErrorFragment } from "@saleor/fragments/types/StaffErrorFragment";
import { IntlShape } from "react-intl";
2020-04-20 11:11:07 +00:00
import getAccountErrorMessage from "./account";
function getStaffErrorMessage(
err: StaffErrorFragment,
intl: IntlShape
): string {
return getAccountErrorMessage(err, intl);
2020-04-20 11:11:07 +00:00
}
export default getStaffErrorMessage;