Skip to content

Commit

Permalink
refactor: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
dawidsowardx committed May 8, 2024
1 parent e804b21 commit 5e2b79d
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions src/chrome/background/create-gateway-module.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
import {
RadixNetworkConfigById,
} from '@radixdlt/babylon-gateway-api-sdk'
import {
GatewayModule,
} from '@radixdlt/radix-dapp-toolkit'
import { RadixNetworkConfigById } from '@radixdlt/babylon-gateway-api-sdk'
import { GatewayModule } from '@radixdlt/radix-dapp-toolkit'
import { __VERSION__ } from 'version'

export const createGatewayModule = (networkId: number) =>
GatewayModule({
clientConfig: {
basePath: RadixNetworkConfigById[networkId].gatewayUrl,
applicationName: 'Radix Connector Extension',
applicationVersion: __VERSION__,
applicationDappDefinitionAddress: '',
}
})

GatewayModule({
clientConfig: {
basePath: RadixNetworkConfigById[networkId].gatewayUrl,
applicationName: 'Radix Connector Extension',
applicationVersion: __VERSION__,
applicationDappDefinitionAddress: '',
},
})

0 comments on commit 5e2b79d

Please sign in to comment.