NostrLoginModal: fix handleClose
This commit is contained in:
@ -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':
|
||||
|
||||
Reference in New Issue
Block a user