Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update sdk version and add wallet connect icon #121

Merged
merged 2 commits into from
Jan 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions front/chains/kadena/adapters/wallet-connect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ import {
const metadata = {
id: 'provider:kadena:wallet-connect',
name: 'Wallet Connect',
icon: '/svg/wallet-connect.svg',
icon: '/images/wallets/wallet-connect.png',
disabled: false
}

export const provider = defineStore({
id: 'provider:kadena:wallet-connect',

state: (): any => ({
icon: '/svg/wallet-connect.svg',
icon: '/images/wallets/wallet-connect.png',

pairings: [],

Expand Down
2 changes: 1 addition & 1 deletion front/components/UI/Modal/Tokens.vue
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const filtered = computed(() => {
"
>
<div>
<img :src="token.icon.replace('https://opact.io/', '/')" class="w-9 h-9" />
<img :src="token.icon" class="w-9 h-9" />
</div>

<div class="flex flex-col space-y-1 text-left">
Expand Down
2 changes: 1 addition & 1 deletion front/components/UI/Select/Token.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const emit = defineEmits(['selected'])
</div>

<div v-else class="space-x-4 lg:space-x-2 flex items-center">
<img :src="token.icon.replace('https://opact.io/', '/')" class="w-6 h-6 lg:w-10 lg:h-10" />
<img :src="token.icon" class="w-6 h-6 lg:w-10 lg:h-10" />

<span
v-text="token.name"
Expand Down
2 changes: 1 addition & 1 deletion front/components/UI/SelectedToken.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ withDefaults(
"
>
<div class="space-x-4 flex items-center">
<img :src="token.icon.replace('https://opact.io/', '/')" class="w-6 h-6 lg:w-10 lg:h-10" />
<img :src="token.icon" class="w-6 h-6 lg:w-10 lg:h-10" />

<span
v-text="token.name"
Expand Down
2 changes: 1 addition & 1 deletion front/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"motion": "^10.16.2",
"nuxt-storage": "^1.2.2",
"nuxt-use-motion": "2.0.0-beta.11",
"opact-sdk": "1.1.34",
"opact-sdk": "^1.1.35",
"pact-lang-api": "^4.3.6",
"pinia": "^2.1.3",
"prism-themes": "^1.9.0",
Expand Down
Binary file added front/public/images/wallets/wallet-connect.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading