diff --git a/src/components/playlist/PlaylistView.tsx b/src/components/playlist/PlaylistView.tsx index 31fc7d4..7b4bed2 100644 --- a/src/components/playlist/PlaylistView.tsx +++ b/src/components/playlist/PlaylistView.tsx @@ -315,7 +315,7 @@ const PlaylistView = ({ ...rest }) => { }, }); - history.replace(`/playlist/${data.id}`); + history.replace(`/playlist/${newPlaylistId}`); notifyToast('success', `Saved playlist`); } else { notifyToast('error', 'Error saving playlist');