Skip to content

Commit

Permalink
feat: hardcode gumroad product permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroAkbal committed Feb 22, 2021
1 parent 0fdf4a6 commit dfcf055
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
7 changes: 1 addition & 6 deletions components/pages/premium/Subscription.vue
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
<a
target="_blank"
rel="noopener"
:href="'https://gum.co/' + getGumroadProduct.product_permalink"
:href="'https://gum.co/Rule34App'"
class="block w-full px-6 py-3 text-lg font-medium leading-6 text-center transition duration-150 ease-in-out border-0 rounded-lg bg-gradient-lilac-blue text-default-text focus:outline-none focus:shadow-outline"
>
Subscribe
Expand All @@ -97,16 +97,11 @@
</template>

<script>
import { mapGetters } from 'vuex'
import { CheckIcon } from 'vue-feather-icons'
export default {
components: {
CheckIcon,
},
computed: {
...mapGetters('premium', ['getGumroadProduct']),
},
}
</script>
3 changes: 0 additions & 3 deletions store/premium/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ export const state = () => ({
})

export const getters = {
getGumroadProduct(state) {
return state.gumroad.product
},

hasValidLicenseKey(state) {
return state.responseData && state.responseData.success === true
Expand Down

0 comments on commit dfcf055

Please sign in to comment.