fix(legacy bookmark): add actionLabel in toast.success

This commit is contained in:
P. Reis 2024-12-13 11:23:36 -03:00
parent 9e49099003
commit a339bb93ea
1 changed files with 1 additions and 1 deletions

View File

@ -368,7 +368,7 @@ const bookmark = (status: StatusEntity) =>
dispatch(bookmarkSuccess(status, response.data));
toast.success(messages.bookmarkAdded, {
actionLink: '/bookmarks',
actionLink: '/bookmarks/all', actionLabel: messages.view,
});
}).catch(function(error) {
dispatch(bookmarkFail(status, error));