diff --git a/frontend/src/components/Playlists.tsx b/frontend/src/components/Playlists.tsx index c38c696..2eb6b4a 100644 --- a/frontend/src/components/Playlists.tsx +++ b/frontend/src/components/Playlists.tsx @@ -172,7 +172,7 @@ export default function Playlists() { const r = await api.syncYoutubePlaylists(); qc.invalidateQueries({ queryKey: ["playlists"] }); qc.invalidateQueries({ queryKey: ["playlist"] }); - notify({ message: t("playlists.syncedToast", { count: r.synced }) }); + notify({ level: "success", message: t("playlists.syncedToast", { count: r.synced }) }); } catch { notify({ level: "warning", message: t("playlists.syncFailed") }); } finally { diff --git a/frontend/src/components/Sidebar.tsx b/frontend/src/components/Sidebar.tsx index e846ba9..0bb9f7d 100644 --- a/frontend/src/components/Sidebar.tsx +++ b/frontend/src/components/Sidebar.tsx @@ -202,7 +202,7 @@ export default function Sidebar({ async function shareView() { try { await navigator.clipboard.writeText(shareUrl(filters)); - notify({ message: t("sidebar.shareCopied") }); + notify({ level: "success", message: t("sidebar.shareCopied") }); } catch { notify({ level: "warning", message: t("sidebar.shareFailed") }); }