feat: add quick account switch interaction
This commit is contained in:
parent
f33c5260df
commit
ad6b8890c5
24 changed files with 217 additions and 85 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import { LONG_PRESS_THRESHOLD } from '@/constants'
|
||||
import { useNoteStatsById } from '@/hooks/useNoteStatsById'
|
||||
import { getLightningAddressFromProfile } from '@/lib/lightning'
|
||||
import { cn } from '@/lib/utils'
|
||||
|
|
@ -86,7 +87,7 @@ export default function ZapButton({ event }: { event: Event }) {
|
|||
setOpenZapDialog(true)
|
||||
setZapping(true)
|
||||
})
|
||||
}, 500)
|
||||
}, LONG_PRESS_THRESHOLD)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue