Skip to content

Commit da925c2

Browse files
authored
fix(with-vite-react): Remove unused React import to fix build error (#11162)
### Description <!-- ✍️ Write a short summary of your work. If necessary, include relevant screenshots. --> When generating a new project using the with-vite-react example, running the build command fails due to a TypeScript compilation error flagging an unused variable (React) in apps/web/src/main.tsx. ### The Solution Removed the unused import React from 'react' statement in apps/web/src/main.tsx.
1 parent 9ed9b33 commit da925c2

File tree

1 file changed

+0
-1
lines changed
  • examples/with-vite-react/apps/web/src

1 file changed

+0
-1
lines changed

examples/with-vite-react/apps/web/src/main.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from "react";
21
import { createRoot } from "react-dom/client";
32
import "./style.css";
43
import typescriptLogo from "/typescript.svg";

0 commit comments

Comments
 (0)