mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 08:37:22 +00:00
Fix 'I already have an account' button to properly open login dialog
- Add onLogin prop to SimpleSignupDialog interface - Connect handleLoginClick to onLogin callback - Update LoginArea and NostrSettings to handle signup->login transition - Now clicking 'I already have an account' properly closes signup and opens login - All tests passing
This commit is contained in:
1 parent
d5c5132662
commit
3d42d93ef1
3 files changed
+14
-4
No files matched your search
@@ -222,6 +222,10 @@ export function NostrSettings() {
|
||||
isOpen={showSignupDialog}
|
||||
onClose={() => setShowSignupDialog(false)}
|
||||
onComplete={handleSignupComplete}
|
||||
onLogin={() => {
|
||||
setShowSignupDialog(false);
|
||||
setShowLoginDialog(true);
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user