This commit is contained in:
parent
44dc7bb615
commit
5ff8be68b8
@ -70,6 +70,7 @@ export default function LoginNsecView() {
|
|||||||
|
|
||||||
accountService.addAccount(account);
|
accountService.addAccount(account);
|
||||||
accountService.switchAccount(account.pubkey);
|
accountService.switchAccount(account.pubkey);
|
||||||
|
navigate("/relays");
|
||||||
});
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
@ -91,9 +91,6 @@ export default function LoginStartView() {
|
|||||||
Extension
|
Extension
|
||||||
</Button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
<Button as={RouterLink} to="./address" state={location.state} w="full" colorScheme="blue" leftIcon={<AtIcon />}>
|
|
||||||
Nostr Address
|
|
||||||
</Button>
|
|
||||||
{SerialPortSigner.SUPPORTED && (
|
{SerialPortSigner.SUPPORTED && (
|
||||||
<ButtonGroup colorScheme="purple">
|
<ButtonGroup colorScheme="purple">
|
||||||
<Button onClick={signinWithSerial} leftIcon={<UsbFlashDrive boxSize={6} />} w="xs">
|
<Button onClick={signinWithSerial} leftIcon={<UsbFlashDrive boxSize={6} />} w="xs">
|
||||||
@ -160,18 +157,6 @@ export default function LoginStartView() {
|
|||||||
<Key01 boxSize={12} />
|
<Key01 boxSize={12} />
|
||||||
Private key
|
Private key
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
|
||||||
flexDirection="column"
|
|
||||||
h="auto"
|
|
||||||
p="4"
|
|
||||||
as={RouterLink}
|
|
||||||
to="./npub"
|
|
||||||
state={location.state}
|
|
||||||
variant="outline"
|
|
||||||
>
|
|
||||||
<Eye boxSize={12} />
|
|
||||||
Public key
|
|
||||||
</Button>
|
|
||||||
</Flex>
|
</Flex>
|
||||||
<Text fontWeight="bold" mt="4">
|
<Text fontWeight="bold" mt="4">
|
||||||
Don't have an account?
|
Don't have an account?
|
||||||
|
Loading…
Reference in New Issue
Block a user