Beautify FYP toast
This commit is contained in:
parent
c970176386
commit
173ab36451
2 changed files with 8 additions and 2 deletions
|
@ -2166,7 +2166,8 @@
|
|||
"Remove all unavailable claims": "Remove all unavailable claims",
|
||||
"Recommended For You": "Recommended For You",
|
||||
"Recommended": "Recommended",
|
||||
"Recommendation removed. Thanks for the feedback!": "Recommendation removed. Thanks for the feedback!",
|
||||
"Recommendation removed.!": "Recommendation removed.",
|
||||
"Thanks for the feedback!": "Thanks for the feedback!",
|
||||
"Hide Chat": "Hide Chat",
|
||||
"Popout Chat": "Popout Chat",
|
||||
"Chat Hidden": "Chat Hidden",
|
||||
|
|
|
@ -303,7 +303,12 @@ export const doRemovePersonalRecommendation = (uri: string) => (dispatch: Dispat
|
|||
.ignoreRecommendation(user.id, personalRecommendations.gid, claimId, hideChannel)
|
||||
.then((res) => {
|
||||
dispatch({ type: ACTIONS.FYP_HIDE_URI, data: { uri } });
|
||||
dispatch(doToast({ message: __('Recommendation removed. Thanks for the feedback!') }));
|
||||
dispatch(
|
||||
doToast({
|
||||
message: __('Recommendation removed.'),
|
||||
subMessage: __('Thanks for the feedback!'),
|
||||
})
|
||||
);
|
||||
})
|
||||
.catch((err) => {
|
||||
console.log('doRemovePersonalRecommendation:', err);
|
||||
|
|
Loading…
Reference in a new issue