diff --git a/ui/src/album/__snapshots__/AlbumDetails.test.jsx.snap b/ui/src/album/__snapshots__/AlbumDetails.test.jsx.snap
index 4f8f83531..706e50a4f 100644
--- a/ui/src/album/__snapshots__/AlbumDetails.test.jsx.snap
+++ b/ui/src/album/__snapshots__/AlbumDetails.test.jsx.snap
@@ -251,175 +251,3 @@ exports[`Details component > Mobile view > renders correctly with year range (st
`;
-
-exports[`Details component > renders correctly in mobile view 1`] = `
-
-
- ♫ Mar 15, 2018
-
- ·
-
- ○ Jun 15, 2020
-
- ·
-
- 12 resources.song.name
-
-
-`;
-
-exports[`Details component > renders correctly with all date fields 1`] = `
-
-
- resources.album.fields.originalDate Mar 15, 2018
-
- ·
-
- resources.album.fields.releaseDate Jun 15, 2020
-
- ·
-
- 12 resources.song.name
-
- ·
-
-
- 01:00:00
-
-
- ·
-
-
- 100 KB
-
-
-
-`;
-
-exports[`Details component > renders correctly with date 1`] = `
-
-
- May 1, 2020
-
- ·
-
- 12 resources.song.name
-
- ·
-
-
- 01:00:00
-
-
- ·
-
-
- 100 KB
-
-
-
-`;
-
-exports[`Details component > renders correctly with date and originalDate 1`] = `
-
-
- resources.album.fields.originalDate Mar 15, 2018
-
- ·
-
- 12 resources.song.name
-
- ·
-
-
- 01:00:00
-
-
- ·
-
-
- 100 KB
-
-
-
-`;
-
-exports[`Details component > renders correctly with just year range 1`] = `
-
-
- 12 resources.song.name
-
- ·
-
-
- 01:00:00
-
-
- ·
-
-
- 100 KB
-
-
-
-`;
-
-exports[`Details component > renders correctly with originalDate 1`] = `
-
-
- resources.album.fields.originalDate Mar 15, 2018
-
- ·
-
- 12 resources.song.name
-
- ·
-
-
- 01:00:00
-
-
- ·
-
-
- 100 KB
-
-
-
-`;
-
-exports[`Details component > renders correctly with releaseDate 1`] = `
-
-
- resources.album.fields.releaseDate Jun 15, 2020
-
- ·
-
- 12 resources.song.name
-
- ·
-
-
- 01:00:00
-
-
- ·
-
-
- 100 KB
-
-
-
-`;
diff --git a/ui/src/common/ArtistLinkField.jsx b/ui/src/common/ArtistLinkField.jsx
index 60832eb40..d41b47b06 100644
--- a/ui/src/common/ArtistLinkField.jsx
+++ b/ui/src/common/ArtistLinkField.jsx
@@ -44,7 +44,9 @@ const parseAndReplaceArtists = (
result.push(displayAlbumArtist.slice(lastIndex, index))
}
// Add the artist link
- result.push()
+ result.push(
+ ,
+ )
lastIndex = index + artist.name.length
}
})
diff --git a/ui/src/missing/DeleteMissingFilesButton.jsx b/ui/src/missing/DeleteMissingFilesButton.jsx
index 9cd622826..f02bb81ae 100644
--- a/ui/src/missing/DeleteMissingFilesButton.jsx
+++ b/ui/src/missing/DeleteMissingFilesButton.jsx
@@ -1,7 +1,6 @@
import React, { useState } from 'react'
import DeleteIcon from '@material-ui/icons/Delete'
-import { makeStyles } from '@material-ui/core/styles'
-import { fade } from '@material-ui/core/styles/colorManipulator'
+import { makeStyles, alpha } from '@material-ui/core/styles'
import clsx from 'clsx'
import {
Button,
@@ -17,7 +16,7 @@ const useStyles = makeStyles(
deleteButton: {
color: theme.palette.error.main,
'&:hover': {
- backgroundColor: fade(theme.palette.error.main, 0.12),
+ backgroundColor: alpha(theme.palette.error.main, 0.12),
// Reset on mouse devices
'@media (hover: none)': {
backgroundColor: 'transparent',
diff --git a/ui/src/user/DeleteUserButton.jsx b/ui/src/user/DeleteUserButton.jsx
index 9bf133fb4..8d78e6bcd 100644
--- a/ui/src/user/DeleteUserButton.jsx
+++ b/ui/src/user/DeleteUserButton.jsx
@@ -1,7 +1,6 @@
import React from 'react'
import DeleteIcon from '@material-ui/icons/Delete'
-import { makeStyles } from '@material-ui/core/styles'
-import { fade } from '@material-ui/core/styles/colorManipulator'
+import { makeStyles, alpha } from '@material-ui/core/styles'
import clsx from 'clsx'
import {
useDeleteWithConfirmController,
@@ -16,7 +15,7 @@ const useStyles = makeStyles(
deleteButton: {
color: theme.palette.error.main,
'&:hover': {
- backgroundColor: fade(theme.palette.error.main, 0.12),
+ backgroundColor: alpha(theme.palette.error.main, 0.12),
// Reset on mouse devices
'@media (hover: none)': {
backgroundColor: 'transparent',