NostrLoginModal: fix handleClose

This commit is contained in:
Alex Gleason
2024-03-16 16:10:54 -05:00
parent 7adb676653
commit 463f260b2e

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':