mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-21 19:31:57 +00:00
fix(template): remove unnecessary import of React in template code (#7750)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
export const template = {
|
||||
'/src/index.js': {
|
||||
hidden: true,
|
||||
code: `import React, { StrictMode } from "react";
|
||||
code: `import { StrictMode } from "react";
|
||||
import { createRoot } from "react-dom/client";
|
||||
import "./styles.css";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user