usetether -> use-tether
All checks were successful
Deploy Site / docker (ubuntu-latest, 2.44.0) (push) Successful in 2m1s

This commit is contained in:
Braydon 2024-09-09 21:53:11 -04:00
parent f23392bf55
commit 33ff9b81e2
3 changed files with 3 additions and 3 deletions

BIN
bun.lockb

Binary file not shown.

View File

@ -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",

View File

@ -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 (
<div className="flex items-start">