mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2025-08-27 13:09:22 +00:00
CONTEXT: LoginArea should not be wrapped in any conditional logic
This commit is contained in:
parent
cc3d87192c
commit
b24578f0db
@ -216,7 +216,7 @@ function MyComponent() {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
The `LoginArea` component displays a "Log in" button when the user is logged out, and changes to an account switcher once the user is logged in. It handles all the login-related UI and interactions internally, including displaying login dialogs and switching between accounts.
|
The `LoginArea` component displays a "Log in" button when the user is logged out, and changes to an account switcher once the user is logged in. It handles all the login-related UI and interactions internally, including displaying login dialogs and switching between accounts. It should not be wrapped in any conditional logic.
|
||||||
|
|
||||||
## `npub`, `naddr`, and other Nostr addresses
|
## `npub`, `naddr`, and other Nostr addresses
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user