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