Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
aaroncox committed Nov 6, 2023
1 parent 95c510d commit 84d3608
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/kit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import {
TransactPluginsOptions,
} from './transact'
import {WalletPlugin, WalletPluginLoginResponse, WalletPluginMetadata} from './wallet'
import {UserInterface, UserInterfaceAccountCreationResponse} from './ui'
import {UserInterface} from './ui'
import {getFetch} from './utils'
import {
AccountCreationPlugin,
Expand Down Expand Up @@ -185,8 +185,6 @@ export class SessionKit {
ui: this.ui,
})

let accountCreationResponse: UserInterfaceAccountCreationResponse | undefined

if (this.accountCreationPlugins.length === 1) {
context.accountCreationPlugin = this.accountCreationPlugins[0]

Expand All @@ -199,7 +197,7 @@ export class SessionKit {
}
}

accountCreationResponse = await context.ui.onAccountCreate(context)
await context.ui.onAccountCreate(context)

if (!context.accountCreationPlugin) {
throw new Error('No account creation plugin selected.')
Expand Down

0 comments on commit 84d3608

Please sign in to comment.