diff --git a/src/pages/settings/nostrLogin/index.tsx b/src/pages/settings/nostrLogin/index.tsx index 60336a7..d2f0d29 100644 --- a/src/pages/settings/nostrLogin/index.tsx +++ b/src/pages/settings/nostrLogin/index.tsx @@ -10,9 +10,14 @@ import { launch as launchNostrLoginDialog } from 'nostr-login' import { Container } from '../../../components/Container' import PeopleIcon from '@mui/icons-material/People' import ImportExportIcon from '@mui/icons-material/ImportExport' +import { useAppSelector } from '../../../hooks/store' +import { NostrLoginAuthMethod } from '../../../store/auth/types' export const NostrLoginPage = () => { const theme = useTheme() + const nostrLoginAuthMethod = useAppSelector( + (state) => state.auth?.nostrLoginAuthMethod + ) return ( @@ -50,21 +55,23 @@ export const NostrLoginPage = () => { }} /> - { - launchNostrLoginDialog('import') - }} - > - - - - { + launchNostrLoginDialog('import') }} - /> - + > + + + + + + )} )