fix: increase timeout duration for liking action to 10 seconds

This commit is contained in:
codytseng
2025-05-21 22:57:43 +08:00
parent 44a9b6ee0e
commit ef0dc9e923

View File

@@ -36,7 +36,7 @@ export default function LikeButton({ event }: { event: Event }) {
if (liking || !pubkey) return
setLiking(true)
const timer = setTimeout(() => setLiking(false), 5000)
const timer = setTimeout(() => setLiking(false), 10_000)
try {
const noteStats = noteStatsMap.get(event.id)