This commit is contained in:
parent
71b920a16a
commit
ad20e04000
@ -92,7 +92,7 @@ export default class AccountNotifications {
|
||||
}
|
||||
}
|
||||
|
||||
throttleUpdateTimeline = _throttle(this.updateTimeline.bind(this), 200);
|
||||
throttleUpdateTimeline = _throttle(this.updateTimeline.bind(this), 10);
|
||||
updateTimeline() {
|
||||
const muteList = replaceableEventsService.getEvent(MUTE_LIST_KIND, this.pubkey).value;
|
||||
const mutedPubkeys = muteList ? getPubkeysFromList(muteList).map((p) => p.pubkey) : [];
|
||||
|
@ -71,7 +71,6 @@ export default function LoginStartView() {
|
||||
} catch (e) {
|
||||
if (e instanceof Error) toast({ description: e.message, status: "error" });
|
||||
}
|
||||
navigate("/relays");
|
||||
}
|
||||
|
||||
if (loading) return <Spinner />;
|
||||
@ -106,21 +105,6 @@ export default function LoginStartView() {
|
||||
icon={<HelpCircle boxSize={5} />}
|
||||
/>
|
||||
</ButtonGroup>
|
||||
)}
|
||||
{AmberSigner.SUPPORTED && (
|
||||
<ButtonGroup colorScheme="orange" w="full">
|
||||
<Button onClick={signinWithAmber} leftIcon={<Diamond01 boxSize={6} />} flex={1}>
|
||||
Use Amber
|
||||
</Button>
|
||||
<IconButton
|
||||
as={Link}
|
||||
aria-label="What is Amber?"
|
||||
title="What is Amber?"
|
||||
isExternal
|
||||
href="https://github.com/greenart7c3/Amber"
|
||||
icon={<HelpCircle boxSize={5} />}
|
||||
/>
|
||||
</ButtonGroup>
|
||||
)}
|
||||
<Flex w="full" alignItems="center" gap="4">
|
||||
<Divider />
|
||||
|
Loading…
Reference in New Issue
Block a user