This commit is contained in:
2025-11-22 21:41:41 -05:00
parent e4d2b4ec05
commit fb64a0f99a
3 changed files with 18 additions and 16 deletions

View File

@@ -206,7 +206,8 @@ export function LyricSearchInputField({ id, placeholder, setShowLyrics }) {
} catch (error) {
toast.update(searchToastRef.current, {
type: "error",
render: `😕 ${error.message}`,
render: error.message,
icon: () => "😕",
autoClose: 5000,
});
} finally {
@@ -254,12 +255,13 @@ export function LyricSearchInputField({ id, placeholder, setShowLyrics }) {
<Button onClick={() => handleSearch()} className="btn">
Search
</Button>
<br />
Exclude:<br />
<div id="exclude-checkboxes">
<UICheckbox id="excl-Genius" label="Genius" onToggle={toggleExclusion} />
<UICheckbox id="excl-LRCLib" label="LRCLib" onToggle={toggleExclusion} />
<UICheckbox id="excl-Cache" label="Cache" onToggle={toggleExclusion} />
<div className="mt-4">
Exclude:<br />
<div id="exclude-checkboxes">
<UICheckbox id="excl-Genius" label="Genius" onToggle={toggleExclusion} />
<UICheckbox id="excl-LRCLib" label="LRCLib" onToggle={toggleExclusion} />
<UICheckbox id="excl-Cache" label="Cache" onToggle={toggleExclusion} />
</div>
</div>
{isLoading && (

View File

@@ -11,7 +11,7 @@ const CustomToastContainer = () => {
newestOnTop={false}
closeOnClick
rtl={false}
pauseOnFocusLoss
pauseOnFocusLoss={false}
draggable
pauseOnHover
/>