Skip to content

Commit 99f60a8

Browse files
committed
chore: fixes in playground code
1 parent 4fbff23 commit 99f60a8

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

playground/src/pages/[name].vue

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,17 @@ export default {}
4242
</script>
4343

4444
<script lang="ts" setup>
45-
import { onBeforeRouteLeave, onBeforeRouteUpdate } from 'vue-router/auto'
46-
import type { RouterTyped, RouteRecordRaw } from 'vue-router/auto'
47-
import type { RouteLocationNormalized } from 'vue-router/auto'
45+
import {
46+
onBeforeRouteLeave,
47+
onBeforeRouteUpdate,
48+
type RouteLocationNormalized,
49+
} from 'vue-router/auto'
4850
4951
const thing = 'THING'
5052
5153
// const $route = useRoute()
5254
53-
const { data: user, isLoading, refresh } = useUserData()
55+
const { data: user, isLoading, reload } = useUserData()
5456
5557
const { data: one } = useOne()
5658
const { data: two } = useTwo()

0 commit comments

Comments
 (0)