Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
poolsar42 committed Jun 5, 2023
1 parent 1161248 commit 5759730
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions apps/passport/app/routes/authorize.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ export default function Authorize() {
}

if (requestedScope.includes('email') && selectedEmail) {
personaData.email = selectedEmail.value
personaData.email = selectedEmail
}

if (
Expand All @@ -486,7 +486,6 @@ export default function Authorize() {
personaData.connected_accounts = AuthorizationControlSelection.ALL
} else {
personaData.connected_accounts = selectedConnectedAccounts
.map((account) => (account as DropdownSelectListItem).value)
}
}

Expand Down
3 changes: 2 additions & 1 deletion apps/passport/app/routes/create/wallet.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useState } from 'react'

import { useSubmit } from '@remix-run/react'
import { redirect, json } from '@remix-run/cloudflare'
import { redirect } from '@remix-run/cloudflare'
import { getAccountClient, getAddressClient } from '~/platform.server'
import {
getAuthzCookieParams,
Expand Down Expand Up @@ -40,6 +40,7 @@ export const action: ActionFunction = getRollupReqFunctionErrorWrapper(

const formData = await request.formData()
const nickname = formData.get('nickname') as string

await addressClient.initSmartContractWallet.query({
nickname,
})
Expand Down

0 comments on commit 5759730

Please sign in to comment.