fix: increase timeout duration for liking action to 10 seconds
This commit is contained in:
parent
44a9b6ee0e
commit
ef0dc9e923
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue