From fb64a0f99a735570e2ac5079a27b5ade498d1d00 Mon Sep 17 00:00:00 2001 From: codey Date: Sat, 22 Nov 2025 21:41:41 -0500 Subject: [PATCH] Misc --- src/components/LyricSearch.jsx | 16 +++++++++------- src/components/ToastProvider.jsx | 2 +- src/layouts/Nav.astro | 16 ++++++++-------- 3 files changed, 18 insertions(+), 16 deletions(-) diff --git a/src/components/LyricSearch.jsx b/src/components/LyricSearch.jsx index 3c8e239..c383ef9 100644 --- a/src/components/LyricSearch.jsx +++ b/src/components/LyricSearch.jsx @@ -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 }) { -
- Exclude:
-
- - - +
+ Exclude:
+
+ + + +
{isLoading && ( diff --git a/src/components/ToastProvider.jsx b/src/components/ToastProvider.jsx index b5e80aa..8e44745 100644 --- a/src/components/ToastProvider.jsx +++ b/src/components/ToastProvider.jsx @@ -11,7 +11,7 @@ const CustomToastContainer = () => { newestOnTop={false} closeOnClick rtl={false} - pauseOnFocusLoss + pauseOnFocusLoss={false} draggable pauseOnHover /> diff --git a/src/layouts/Nav.astro b/src/layouts/Nav.astro index 074c4c7..b8dbb03 100644 --- a/src/layouts/Nav.astro +++ b/src/layouts/Nav.astro @@ -10,7 +10,7 @@ const navItems = [ { label: "Lighting", href: "/lighting", auth: true }, { label: "TRip", href: "/TRip", auth: true }, { label: "Status", href: "https://status.boatson.boats", icon: ExitToApp }, - // { label: "Git", href: "https://kode.boatson.boats", icon: ExitToApp }, + { label: "Git", href: "https://kode.boatson.boats", icon: ExitToApp }, ]; const currentPath = Astro.url.pathname; @@ -102,8 +102,8 @@ const currentPath = Astro.url.pathname; -
-