Skip to content

Commit

Permalink
Update src/pages/[platform]/build-a-backend/data/query-data/index.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: josef <josef.aidt@gmail.com>
  • Loading branch information
chrisbonifacio and josefaidt authored Dec 17, 2024
1 parent 08e9356 commit 752615c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,9 @@ const fetchPosts = async () => {
<InlineFilter filters={['vue']}>
```ts
<script setup lang="ts">
import type { Schema } from '../../../amplify/data/resource';
import { ref, onMounted } from 'vue';
import { generateClient, type SelectionSet } from 'aws-amplify/data';
import type { Schema } from '../../../amplify/data/resource';

const client = generateClient<Schema>();

Expand Down

0 comments on commit 752615c

Please sign in to comment.