From 151749494427e1af94329049f37df2bbc4ea0408 Mon Sep 17 00:00:00 2001 From: Batuhan Tomo <91488737+Rekl0w@users.noreply.github.com> Date: Thu, 19 Dec 2024 20:43:41 +0300 Subject: [PATCH] refactor: remove unused useTransition import in App.js and update documentation for clarity (#7377) --- src/content/reference/react/useTransition.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/reference/react/useTransition.md b/src/content/reference/react/useTransition.md index f4781295..6b7c511e 100644 --- a/src/content/reference/react/useTransition.md +++ b/src/content/reference/react/useTransition.md @@ -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";