Skip to content

Commit

Permalink
Merge pull request kodadot#8242 from kodadot/fix/chunk-paraspell
Browse files Browse the repository at this point in the history
fix: chunk paraspell sdk
  • Loading branch information
preschian authored Nov 27, 2023
2 parents 0c3ed09 + c1732f8 commit d629a3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
9 changes: 4 additions & 5 deletions components/collection/drop/TokenImportButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
</template>

<script setup lang="ts">
import { Builder } from '@paraspell/sdk'
import { NeoButton } from '@kodadot1/brick'
import { ApiFactory } from '@kodadot1/sub-api'
import { getChainEndpointByPrefix } from '@/utils/chain'
Expand All @@ -36,7 +37,7 @@ const props = defineProps({
})
const { neoModal } = useProgrammatic()
const root = ref<Vue>()
const root = ref()
const Money = defineAsyncComponent(
() => import('@/components/shared/format/Money.vue'),
Expand All @@ -58,10 +59,8 @@ const handleTokenImport = async () => {
}
const api = await getApi()
const to = urlPrefix.value === 'ahk' ? 'Statemine' : 'Statemint'
const paraspell = await import('@paraspell/sdk')
const call = paraspell
.Builder(api)
const to = urlPrefix.value === 'ahk' ? 'AssetHubKusama' : 'AssetHubPolkadot'
const call = Builder(api)
.to(to)
.amount(props.price)
.address(accountId.value)
Expand Down
4 changes: 0 additions & 4 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,6 @@ export default defineNuxtConfig({
path: '~/components/landing',
extensions: ['vue'],
},
{
path: '~/components/metadata',
extensions: ['vue'],
},
{
path: '~/components/rmrk',
extensions: ['vue'],
Expand Down

0 comments on commit d629a3b

Please sign in to comment.