File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/pages/[platform]/build-a-backend/data/query-data Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ const [posts, setPosts] = useState<Post[]>([]);
237
237
<InlineFilter filters = { [" angular" , " vue" ]} >
238
238
239
239
``` ts
240
- import { type Schema } from ' @ /amplify/data/resource' ;
240
+ import { type Schema } from ' ../../.. /amplify/data/resource' ;
241
241
242
242
type Post = Schema [' Post' ][' type' ];
243
243
```
@@ -306,9 +306,9 @@ onMounted(() => {
306
306
307
307
<InlineFilter filters = { [" angular" ]} >
308
308
``` ts
309
+ import type { Schema } from ' ../../../amplify/data/resource' ;
309
310
import { Component , OnInit } from ' @angular/core' ;
310
311
import { generateClient , type SelectionSet } from ' aws-amplify/data' ;
311
- import type { Schema } from ' ../../../amplify/data/resource' ;
312
312
import { CommonModule } from ' @angular/common' ;
313
313
314
314
const client = generateClient <Schema >();
You can’t perform that action at this time.
0 commit comments