Skip to content

Commit

Permalink
Merge pull request #6901 from kodadot/fix/wallet-modal-close-set-iden…
Browse files Browse the repository at this point in the history
…itity
  • Loading branch information
yangwao authored Aug 23, 2023
2 parents 9b7a20b + 4a49480 commit 201d55a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion components/common/ConnectWallet/WalletAssetSetIdentity.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,21 @@
<div v-if="!rememberIdentity" class="set-identity">
<div
class="wallet-asset-container is-size-7 py-1 is-flex is-justify-content-space-between">
<nuxt-link to="/identity">Create Your Onchain Identity</nuxt-link>
<nuxt-link to="/identity" @click.native="closeModal"
>Create Your Onchain Identity</nuxt-link
>
<a @click="rememberIdentity = true">Close</a>
</div>
</div>
</template>

<script setup lang="ts">
import { useStorage } from '@vueuse/core'
const { $neoModal } = useNuxtApp()
const closeModal = () => {
$neoModal.closeAll()
}
const rememberIdentity = useStorage('remember-identity', false)
</script>
Expand Down

0 comments on commit 201d55a

Please sign in to comment.