From a8e786a578e806003bc676b0db5afa28436650da Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 16 Mar 2024 15:10:34 -0500 Subject: [PATCH] NostrSignin: update steps --- .../components/modals/nostr-signin-modal/nostr-signin-modal.tsx | 2 +- .../modals/nostr-signin-modal/steps/extension-step.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/features/ui/components/modals/nostr-signin-modal/nostr-signin-modal.tsx b/src/features/ui/components/modals/nostr-signin-modal/nostr-signin-modal.tsx index 259f25348..9188796ba 100644 --- a/src/features/ui/components/modals/nostr-signin-modal/nostr-signin-modal.tsx +++ b/src/features/ui/components/modals/nostr-signin-modal/nostr-signin-modal.tsx @@ -12,7 +12,7 @@ interface INostrSigninModal { } const NostrSigninModal: React.FC = ({ onClose }) => { - const [step, setStep] = useState(window.nostr ? 'extension' : 'key-add'); + const [step, setStep] = useState(window.nostr ? 'extension' : 'key'); const handleClose = () => onClose('NOSTR_SIGNIN'); diff --git a/src/features/ui/components/modals/nostr-signin-modal/steps/extension-step.tsx b/src/features/ui/components/modals/nostr-signin-modal/steps/extension-step.tsx index 2e6a1a796..7957f3f2c 100644 --- a/src/features/ui/components/modals/nostr-signin-modal/steps/extension-step.tsx +++ b/src/features/ui/components/modals/nostr-signin-modal/steps/extension-step.tsx @@ -17,7 +17,7 @@ const ExtensionStep: React.FC = ({ setStep, onClose }) => { const dispatch = useAppDispatch(); const onClick = () => dispatch(nostrExtensionLogIn()); - const onClickAlt = () => setStep('key-add'); + const onClickAlt = () => setStep('key'); return ( } onClose={onClose}>