Skip to content

Commit

Permalink
fix(front): change message to request sign
Browse files Browse the repository at this point in the history
  • Loading branch information
1Mateus committed Jan 23, 2024
1 parent 75c36ca commit 9cd98de
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions front/chains/kadena/adapters/wallet-connect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@ export const provider = defineStore({
throw new Error('No selected account to send from')
}

callbackProgress('Waiting for sign.')

const signWithWalletConnect =
createWalletConnectQuicksign(
this.client as any,
Expand Down
10 changes: 5 additions & 5 deletions front/layouts/app.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script setup lang="ts">
import { storeToRefs } from 'pinia'
import { loadArtifact } from 'opact-sdk'
import { onBeforeMount, onMounted } from 'vue'
// import { loadArtifact } from 'opact-sdk'
import { onBeforeMount } from 'vue'
import { useAppStore } from '~/stores/app'
import { useWalletStore } from '~/stores/wallet'
Expand All @@ -17,9 +17,9 @@ onBeforeMount(() => {
wallet.reconnect()
})
onMounted(() => {
loadArtifact()
})
// onMounted(() => {
// loadArtifact()
// })
watch(account, (newAccount) => {
if (!newAccount) {
Expand Down

0 comments on commit 9cd98de

Please sign in to comment.