Skip to content

Commit 80d7c2e

Browse files
committed
refactor: remove unused useTransition import in App.js and update documentation for clarity
1 parent 03e74dd commit 80d7c2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/reference/react/useTransition.md

Lines changed: 1 addition & 1 deletion
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)