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() {
|
updateTimeline() {
|
||||||
const muteList = replaceableEventsService.getEvent(MUTE_LIST_KIND, this.pubkey).value;
|
const muteList = replaceableEventsService.getEvent(MUTE_LIST_KIND, this.pubkey).value;
|
||||||
const mutedPubkeys = muteList ? getPubkeysFromList(muteList).map((p) => p.pubkey) : [];
|
const mutedPubkeys = muteList ? getPubkeysFromList(muteList).map((p) => p.pubkey) : [];
|
||||||
|
@ -71,7 +71,6 @@ export default function LoginStartView() {
|
|||||||
} catch (e) {
|
} catch (e) {
|
||||||
if (e instanceof Error) toast({ description: e.message, status: "error" });
|
if (e instanceof Error) toast({ description: e.message, status: "error" });
|
||||||
}
|
}
|
||||||
navigate("/relays");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (loading) return <Spinner />;
|
if (loading) return <Spinner />;
|
||||||
@ -107,21 +106,6 @@ export default function LoginStartView() {
|
|||||||
/>
|
/>
|
||||||
</ButtonGroup>
|
</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">
|
<Flex w="full" alignItems="center" gap="4">
|
||||||
<Divider />
|
<Divider />
|
||||||
<Text fontWeight="bold">OR</Text>
|
<Text fontWeight="bold">OR</Text>
|
||||||
|
Loading…
Reference in New Issue
Block a user