Skip to content

Commit

Permalink
switch to setup_new_profile
Browse files Browse the repository at this point in the history
  • Loading branch information
futurepaul committed Apr 12, 2024
1 parent 2f027bc commit de3460b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/routes/setup/NewProfile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function NewProfile() {
async function handleSkip() {
setSkipping(true);
// set up an empty profile so we at least have some kind0 event
const profile = await state.mutiny_wallet?.edit_nostr_profile(
const profile = await state.mutiny_wallet?.setup_new_profile(
DEFAULT_NOSTR_NAME,
undefined,
undefined,
Expand All @@ -38,8 +38,8 @@ export function NewProfile() {
async function createProfile(p: EditableProfile) {
setCreating(true);
try {
const profile = await state.mutiny_wallet?.edit_nostr_profile(
p.nym ? p.nym : undefined,
const profile = await state.mutiny_wallet?.setup_new_profile(
p.nym ? p.nym : DEFAULT_NOSTR_NAME,
p.imageUrl ? p.imageUrl : undefined,
p.lightningAddress ? p.lightningAddress : undefined,
undefined
Expand Down

0 comments on commit de3460b

Please sign in to comment.