Skip to content

Commit

Permalink
fix: wallet connect v2 (#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
JackHamer09 authored Dec 17, 2022
1 parent 128103f commit ffae437
Show file tree
Hide file tree
Showing 5 changed files with 407 additions and 743 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@inkline/nuxt": "^2.3.6",
"@matterlabs/eslint-config-nuxt": "^1.0.6",
"@matterlabs/prettier-config": "^1.0.2",
"@matterlabs/zksync-nuxt-core": "^1.9.1",
"@matterlabs/zksync-nuxt-core": "^1.9.3",
"@nuxt/typescript-runtime": "^2.1.0",
"@nuxtjs/google-gtag": "^1.0.4",
"@nuxtjs/sentry": "^5.1.7",
Expand Down
2 changes: 1 addition & 1 deletion src/components/HashInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default Vue.extend({
},
computed: {
ipfsGateway(): string {
return (this.$store.getters["zk-onboard/options"] as ModuleOptions).ipfsGateway;
return (this.$store.getters["zk-onboard/options"] as ModuleOptions).ipfsGateway!;
},
isValid(): boolean {
return this.inputtedHash.length > 0 && !this.error;
Expand Down
9 changes: 0 additions & 9 deletions src/mixins/sentry.mixin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export default Vue.extend({
config: "zk-onboard/config",

selectedWallet: "zk-onboard/selectedWallet",
selectedOnboardType: "zk-onboard/selectedOnboardType",

accountAddress: "zk-account/address",
}),
Expand All @@ -34,14 +33,6 @@ export default Vue.extend({
},
immediate: true,
},
selectedOnboardType: {
handler(value) {
if (this.$sentry) {
this.$sentry.setTags({ "onboard.type": value });
}
},
immediate: true,
},

accountAddress: {
handler(value) {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/nft/token/_symbol.vue
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export default Vue.extend({
return computeReturnLink(this, "/account/nft");
},
ipfsGateway(): string {
return (this.$store.getters["zk-onboard/options"] as ModuleOptions).ipfsGateway;
return (this.$store.getters["zk-onboard/options"] as ModuleOptions).ipfsGateway!;
},
tokenID(): number {
return parseInt(this.$route.params.symbol);
Expand Down
Loading

0 comments on commit ffae437

Please sign in to comment.