fix: remove screen on nostr-login launch

Ignores the init options param when screen is passed
This commit is contained in:
enes 2024-10-08 13:45:58 +02:00
parent 331759de5c
commit 8689c7f753
3 changed files with 3 additions and 3 deletions

View File

@ -130,7 +130,7 @@ export const AppBar = () => {
<Button
startIcon={<ButtonIcon />}
onClick={() => {
launchNostrLoginDialog('welcome')
launchNostrLoginDialog()
}}
variant="contained"
>

View File

@ -25,7 +25,7 @@ export const LandingPage = () => {
const location = useLocation()
const onSignInClick = async () => {
launchNostrLoginDialog('welcome')
launchNostrLoginDialog()
}
const cards = [

View File

@ -150,7 +150,7 @@ export const Nostr = () => {
id="nostr-login"
variant="contained"
onClick={() => {
launchNostrLoginDialog('welcome')
launchNostrLoginDialog()
}}
>
Nostr Login