Skip to content

Commit

Permalink
chore: remove playground code
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed May 17, 2023
1 parent 94527a8 commit 4c26573
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions packages/playground/src/stores/counterSetup.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { computed, toRefs, reactive, inject } from 'vue'
import { computed, toRefs, reactive } from 'vue'
import { acceptHMRUpdate, defineStore } from 'pinia'
import { useRoute } from 'vue-router'

const delay = (t: number) => new Promise((r) => setTimeout(r, t))

Expand All @@ -12,11 +11,6 @@ export const useCounter = defineStore('counter-setup', () => {
numbers: [] as number[],
})

const route = useRoute()
console.log('route in setup', route)

console.log('injection', inject('hello'))

const double = computed(() => state.n * 2)

function increment(amount = 1) {
Expand Down

0 comments on commit 4c26573

Please sign in to comment.