Skip to content

Commit d9defaf

Browse files
Update src/pages/[platform]/build-a-backend/data/set-up-data/index.mdx
Co-authored-by: josef <[email protected]>
1 parent 75ed92f commit d9defaf

File tree

1 file changed

+1
-1
lines changed
  • src/pages/[platform]/build-a-backend/data/set-up-data

1 file changed

+1
-1
lines changed

src/pages/[platform]/build-a-backend/data/set-up-data/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1112,10 +1112,10 @@ async function createTodo() {
11121112
You can also use `observeQuery` to subscribe to a live feed of your backend data. Let's refactor the code to use a real-time observeQuery instead.
11131113

11141114
```ts title="todo-list.component.ts"
1115+
import type { Schema } from '../../../amplify/data/resource';
11151116
import { Component, OnInit } from '@angular/core';
11161117
import { CommonModule } from '@angular/common';
11171118
import { generateClient } from 'aws-amplify/data';
1118-
import type { Schema } from '../../../amplify/data/resource';
11191119
import { Subscription } from 'rxjs';
11201120

11211121
const client = generateClient<Schema>();

0 commit comments

Comments
 (0)