|
|
|
@ -1,5 +1,6 @@ |
|
|
|
import { Button } from '@/components/ui/button' |
|
|
|
import { Button } from '@/components/ui/button' |
|
|
|
import { Separator } from '@/components/ui/separator' |
|
|
|
import { Separator } from '@/components/ui/separator' |
|
|
|
|
|
|
|
import { isDevEnv } from '@/lib/common' |
|
|
|
import { useNostr } from '@/providers/NostrProvider' |
|
|
|
import { useNostr } from '@/providers/NostrProvider' |
|
|
|
import { useTheme } from '@/providers/ThemeProvider' |
|
|
|
import { useTheme } from '@/providers/ThemeProvider' |
|
|
|
import { NstartModal } from 'nstart-modal' |
|
|
|
import { NstartModal } from 'nstart-modal' |
|
|
|
@ -10,7 +11,6 @@ import BunkerLogin from './BunkerLogin' |
|
|
|
import GenerateNewAccount from './GenerateNewAccount' |
|
|
|
import GenerateNewAccount from './GenerateNewAccount' |
|
|
|
import NpubLogin from './NpubLogin' |
|
|
|
import NpubLogin from './NpubLogin' |
|
|
|
import PrivateKeyLogin from './PrivateKeyLogin' |
|
|
|
import PrivateKeyLogin from './PrivateKeyLogin' |
|
|
|
import { isDevEnv } from '@/lib/common' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type TAccountManagerPage = 'nsec' | 'bunker' | 'generate' | 'npub' | null |
|
|
|
type TAccountManagerPage = 'nsec' | 'bunker' | 'generate' | 'npub' | null |
|
|
|
|
|
|
|
|
|
|
|
@ -78,7 +78,7 @@ function AccountManagerNav({ |
|
|
|
<Button |
|
|
|
<Button |
|
|
|
onClick={() => { |
|
|
|
onClick={() => { |
|
|
|
const wizard = new NstartModal({ |
|
|
|
const wizard = new NstartModal({ |
|
|
|
baseUrl: 'https://start.njump.me', |
|
|
|
baseUrl: 'https://nstart.me', |
|
|
|
an: 'Jumble', |
|
|
|
an: 'Jumble', |
|
|
|
am: themeSetting, |
|
|
|
am: themeSetting, |
|
|
|
onComplete: ({ nostrLogin }) => { |
|
|
|
onComplete: ({ nostrLogin }) => { |
|
|
|
|