NostrLoginModal: fix handleClose

This commit is contained in:
Alex Gleason 2024-03-16 16:10:54 -05:00
parent 7adb676653
commit 463f260b2e
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -12,7 +12,7 @@ interface INostrLoginModal {
const NostrLoginModal: React.FC<INostrLoginModal> = ({ onClose }) => {
const [step, setStep] = useState<Step>(window.nostr ? 'extension' : 'key-add');
const handleClose = () => onClose('NOSTR_SIGNUP');
const handleClose = () => onClose('NOSTR_LOGIN');
switch (step) {
case 'extension':