KeyStep: fix modals, sort of

This commit is contained in:
Alex Gleason 2024-03-17 15:35:39 -05:00
parent 1417d46af5
commit ab0f9b0a43
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -18,8 +18,8 @@ const KeyStep: React.FC<IKeyStep> = ({ setStep, onClose }) => {
const dispatch = useAppDispatch();
const onAltClick = () => {
dispatch(openModal('NOSTR_LOGIN'));
onClose();
dispatch(openModal('NOSTR_LOGIN'));
};
return (