Skip to content

Commit

Permalink
chore(test): add missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux committed Feb 20, 2024
1 parent 047f0ba commit a33371f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/fixtures/basic/app.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
<script setup lang="ts">
import { useFetch } from '#app'
const { data: primitives } = useFetch('/api/_hub/primitives')
</script>

<template>
<h3>Primitives enabled:</h3>
<ul>
<li v-for="primitive in Object.keys(primitives)" :key="primitive">
<li v-for="primitive in Object.keys(primitives || {})" :key="primitive">
{{ primitive }}
</li>
</ul>
Expand Down

0 comments on commit a33371f

Please sign in to comment.