diff --git a/src/renderer/features/albums/components/joined-artists.tsx b/src/renderer/features/albums/components/joined-artists.tsx index 712716065..e9c4f2e5e 100644 --- a/src/renderer/features/albums/components/joined-artists.tsx +++ b/src/renderer/features/albums/components/joined-artists.tsx @@ -36,10 +36,10 @@ export const JoinedArtists = ({ for (const artist of artists) { const name = artist.name; - + // Avoid an infinite loop when `artist.name` is an empty string. if (!name) continue; - + const regex = new RegExp(escapeRegex(name), 'gi'); let match: null | RegExpExecArray = null; while ((match = regex.exec(artistName)) !== null) { diff --git a/src/renderer/features/player/components/full-screen-player-queue.module.css b/src/renderer/features/player/components/full-screen-player-queue.module.css index 9f0650b8c..cea7e25c0 100644 --- a/src/renderer/features/player/components/full-screen-player-queue.module.css +++ b/src/renderer/features/player/components/full-screen-player-queue.module.css @@ -1,6 +1,5 @@ .queue-container { position: relative; - display: flex; width: 100%; min-width: 0; height: 100%;