fix: increase timeout duration for liking action to 10 seconds
This commit is contained in:
@@ -36,7 +36,7 @@ export default function LikeButton({ event }: { event: Event }) {
|
|||||||
if (liking || !pubkey) return
|
if (liking || !pubkey) return
|
||||||
|
|
||||||
setLiking(true)
|
setLiking(true)
|
||||||
const timer = setTimeout(() => setLiking(false), 5000)
|
const timer = setTimeout(() => setLiking(false), 10_000)
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const noteStats = noteStatsMap.get(event.id)
|
const noteStats = noteStatsMap.get(event.id)
|
||||||
|
|||||||
Reference in New Issue
Block a user