From b7ed1e1b0b3a2f5884dfa99b82b38aa1028eacd4 Mon Sep 17 00:00:00 2001 From: l Date: Wed, 9 Oct 2024 10:46:38 +0000 Subject: [PATCH] gone --- src/components/Lanyard.tsx | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/components/Lanyard.tsx b/src/components/Lanyard.tsx index d397458..e9357b0 100644 --- a/src/components/Lanyard.tsx +++ b/src/components/Lanyard.tsx @@ -1,17 +1,17 @@ -import { useLanyard } from "use-lanyard"; -import constants from "@/lib/constants"; -import yard from "@/styles/Lanyard.module.sass" +// import { useLanyard } from "use-lanyard"; +// import constants from "@/lib/constants"; +// import yard from "@/styles/Lanyard.module.sass" -const Lanyard = () => { - const lanyard = useLanyard(constants.ids.discord as `${bigint}`).data - if (!lanyard?.listening_to_spotify) return (<>); - return ( -
- - {lanyard?.spotify?.song} by {lanyard?.spotify?.artist.split(';').length < 3 ? (lanyard?.spotify?.artist.split(';') as string[]).join(" &") : (lanyard?.spotify?.artist.split(';')[0])} -
+// const Lanyard = () => { +// const lanyard = useLanyard(constants.ids.discord as `${bigint}`).data +// if (!lanyard?.listening_to_spotify) return (<>); +// return ( +//
+// +// {lanyard?.spotify?.song} by {lanyard?.spotify?.artist.split(';').length < 3 ? (lanyard?.spotify?.artist.split(';') as string[]).join(" &") : (lanyard?.spotify?.artist.split(';')[0])} +//
- ); -}; +// ); +// }; -export default Lanyard; \ No newline at end of file +// export default Lanyard; \ No newline at end of file