diff --git a/vue-app/src/App.vue b/vue-app/src/App.vue index 83ef9c972..6dddb8046 100644 --- a/vue-app/src/App.vue +++ b/vue-app/src/App.vue @@ -17,7 +17,7 @@ 'mr-cart-closed': !isCartToggledOpen && isSideCartShown, }" > - +
{ - const url = this.path + const url = this.$route.path const links = url .split('/') diff --git a/vue-app/src/views/JoinLanding.vue b/vue-app/src/views/JoinLanding.vue index 447eda9d3..ef176ca08 100644 --- a/vue-app/src/views/JoinLanding.vue +++ b/vue-app/src/views/JoinLanding.vue @@ -9,7 +9,7 @@

Fetching round data...

@@ -168,10 +168,6 @@ export default class JoinLanding extends Vue { return [{ link: 'join', url: '/join' }] } - get path(): string { - return this.$route.path - } - async created() { this.currentRound = await getCurrentRound() this.loading = false diff --git a/vue-app/src/views/VerifyLanding.vue b/vue-app/src/views/VerifyLanding.vue index 0c4c6cd0f..489823390 100644 --- a/vue-app/src/views/VerifyLanding.vue +++ b/vue-app/src/views/VerifyLanding.vue @@ -11,7 +11,7 @@
- +

Prove you’re only using one account

@@ -143,10 +143,6 @@ export default class VerifyLanding extends Vue { return this.$store.getters.hasContributionPhaseEnded } - get path(): string { - return this.$route.path - } - formatDuration(value: number): string { return humanizeDuration(value * 1000, { largest: 1 }) }