diff --git a/developer-docs-site/docs/tutorials/build-e2e-dapp/4-fetch-data-from-chain.md b/developer-docs-site/docs/tutorials/build-e2e-dapp/4-fetch-data-from-chain.md index 1149042bea3c7..e9ab33c4a5c4a 100644 --- a/developer-docs-site/docs/tutorials/build-e2e-dapp/4-fetch-data-from-chain.md +++ b/developer-docs-site/docs/tutorials/build-e2e-dapp/4-fetch-data-from-chain.md @@ -77,7 +77,7 @@ function App ( ) ``` also import `useEffect` using -```jsx import { useState, useEffect } from "react"; ``` +```import { useState, useEffect } from "react"; ``` 5. Our `useEffect` hook is calling a `fetchList` function; let’s create it: @@ -110,8 +110,8 @@ The `client.getAccountResource()`expects an *account address* that holds the res If the request succeeds and there is a resource for that account, we want to set our local state to `true`; otherwise, we would set it to `false`. -6. Let’s update ```jsx import { Layout, Row, Col } from "antd"; ``` to import Button: - ```jsx import { Layout, Row, Col, Button } from "antd"; ``` +6. Let’s update ```import { Layout, Row, Col } from "antd"; ``` to import Button: + ```import { Layout, Row, Col, Button } from "antd"; ``` 7. Let’s update our UI based on the `accountHasList` state: