Skip to content

Commit

Permalink
fix: fix notification message on CreateGuesser (#567)
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentchalamon authored Jun 28, 2024
1 parent 479fec4 commit 3ec9691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/useOnSubmit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const useOnSubmit = ({
const success =
mutationOptions?.onSuccess ??
((record: RaRecord) => {
notify('ra.notification.updated', {
notify(isCreate ? 'ra.notification.created' : 'ra.notification.updated', {
type: 'info',
messageArgs: { smart_count: 1 },
});
Expand Down

0 comments on commit 3ec9691

Please sign in to comment.