Skip to content

Commit

Permalink
refactor: remove unused useTransition import in App.js and update doc…
Browse files Browse the repository at this point in the history
…umentation for clarity (#7377)
  • Loading branch information
Rekl0w authored Dec 19, 2024
1 parent 8e41e32 commit 1517494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/reference/react/useTransition.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ Update the quantity multiple times quickly. Notice that the pending "Total" stat
```

```js src/App.js
import { useState, useTransition } from "react";
import { useState } from "react";
import { updateQuantity } from "./api";
import Item from "./Item";
import Total from "./Total";
Expand Down

0 comments on commit 1517494

Please sign in to comment.