diff --git a/bun.lockb b/bun.lockb index a73c6b1..8c04be3 100644 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 3e58170..7bd55d6 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "sharp": "^0.33.5", "tailwind-merge": "^2.5.2", "tailwindcss-animate": "^1.0.7", - "usetether": "^1.2.3" + "use-tether": "^1.0.0" }, "devDependencies": { "typescript": "^5", diff --git a/src/components/landing/discord-status.tsx b/src/components/landing/discord-status.tsx index fb08a70..1863041 100644 --- a/src/components/landing/discord-status.tsx +++ b/src/components/landing/discord-status.tsx @@ -1,7 +1,7 @@ "use client"; import { ReactElement, useEffect, useState } from "react"; -import { DiscordUser, SpotifyActivity, useTetherWS } from "usetether"; +import { DiscordUser, SpotifyActivity, useTetherWS } from "use-tether"; import Image from "next/image"; import { cn, truncateText } from "@/lib/utils"; import SimpleTooltip from "@/components/ui/simple-tooltip"; @@ -167,7 +167,7 @@ const SpotifyActivityContent = ({ setTrackProgress(moment(trackProgress).format("m:ss")); }, 1000); return () => clearInterval(interval); - }, [startTimestamp]); + }, [startTimestamp, trackDuration]); return (