Skip to content

Commit 6a41874

Browse files
author
elorzafe
authored
Update amplifycli_react_tutorial.md
Fix issue, that if you follow the instructions and graphqlOperation is not imported the App will break. I am not sure if explain that in detail on the docs as well.
1 parent e2b001f commit 6a41874

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

amplifycli_react_tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ Next, you would need to select the security type for the API. Select **Authentic
219219
Edit your `App.js` file in the React project again and modify your imports so that the `API` category is included as well to make API calls from the app.
220220

221221
```
222-
import Amplify, { Analytics, Storage, API } from 'aws-amplify';
222+
import Amplify, { Analytics, Storage, API, graphqlOperation } from 'aws-amplify';
223223
```
224224

225225

0 commit comments

Comments
 (0)