Skip to content

Commit 1517494

Browse files
authored
refactor: remove unused useTransition import in App.js and update documentation for clarity (#7377)
1 parent 8e41e32 commit 1517494

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/reference/react/useTransition.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ Update the quantity multiple times quickly. Notice that the pending "Total" stat
340340
```
341341

342342
```js src/App.js
343-
import { useState, useTransition } from "react";
343+
import { useState } from "react";
344344
import { updateQuantity } from "./api";
345345
import Item from "./Item";
346346
import Total from "./Total";

0 commit comments

Comments
 (0)