mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
Fixed: UI fixes from Sonarr
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
@@ -16,6 +16,10 @@ function Icon(props) {
|
||||
...otherProps
|
||||
} = props;
|
||||
|
||||
if (title && !window.Lidarr.isProduction) {
|
||||
console.error('Icons cannot have a title');
|
||||
}
|
||||
|
||||
return (
|
||||
<FontAwesomeIcon
|
||||
className={classNames(
|
||||
@@ -24,7 +28,6 @@ function Icon(props) {
|
||||
)}
|
||||
icon={name}
|
||||
spin={isSpinning}
|
||||
title={title}
|
||||
style={{
|
||||
fontSize: `${size}px`
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user