feat: 💨
This commit is contained in:
parent
5d21172017
commit
ec19b9cbfe
6 changed files with 130 additions and 72 deletions
|
|
@ -35,7 +35,7 @@ export default function NoteList({
|
|||
}) {
|
||||
const { t } = useTranslation()
|
||||
const { isLargeScreen } = useScreenSize()
|
||||
const { signEvent, checkLogin } = useNostr()
|
||||
const { startLogin } = useNostr()
|
||||
const { mutePubkeys } = useMuteList()
|
||||
const [refreshCount, setRefreshCount] = useState(0)
|
||||
const [timelineKey, setTimelineKey] = useState<string | undefined>(undefined)
|
||||
|
|
@ -102,10 +102,7 @@ export default function NoteList({
|
|||
}
|
||||
},
|
||||
{
|
||||
signer: async (evt) => {
|
||||
const signedEvt = await checkLogin(() => signEvent(evt))
|
||||
return signedEvt ?? null
|
||||
},
|
||||
startLogin,
|
||||
needSort: !areAlgoRelays
|
||||
}
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue