usetether -> use-tether
All checks were successful
Deploy Site / docker (ubuntu-latest, 2.44.0) (push) Successful in 2m1s
All checks were successful
Deploy Site / docker (ubuntu-latest, 2.44.0) (push) Successful in 2m1s
This commit is contained in:
parent
f23392bf55
commit
33ff9b81e2
@ -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",
|
||||
|
@ -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">
|
||||
|
Loading…
x
Reference in New Issue
Block a user