notify when song added to playlist by context menu

This commit is contained in:
Kendall Garner
2025-12-06 17:11:01 -08:00
parent 4531f88e71
commit 126b5ed67d
@@ -219,6 +219,14 @@ export const AddToPlaylistAction = ({ items, itemType }: AddToPlaylistActionProp
onSuccess: () => {},
},
);
toast.success({
message: t('form.addToPlaylist.success', {
message: allSongIds.length,
numOfPlaylists: 1,
postProcess: 'sentenceCase',
}),
});
} catch (error) {
toast.error({
message: (error as Error).message,