fix(admin-ui): "cancel fulfillment" notification text (#3750)

* fix: "cancel fulfillment" notification text

* fix: add changesets

---------

Co-authored-by: fPolic <frane@medusajs.com>
This commit is contained in:
Frane Polić
2023-04-06 15:45:54 +02:00
committed by GitHub
parent c24c2a9732
commit 6f48cc57bc
2 changed files with 10 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
"@medusajs/admin-ui": patch
---
fix(admin-ui): correct notification text on fulfillment cancel

View File

@@ -84,7 +84,11 @@ export const FormattedFulfillment = ({
default:
return cancelFulfillment.mutate(fulfillment.id, {
onSuccess: () =>
notification("Success", "Successfully canceled order", "success"),
notification(
"Success",
"Successfully canceled fulfillment",
"success"
),
onError: (err) =>
notification("Error", getErrorMessage(err), "error"),
})