Skip to content

Commit a01a603

Browse files
authored
Update tutorial-tic-tac-toe.md
1 parent 5bc8307 commit a01a603

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/learn/tutorial-tic-tac-toe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ export default function Square() {
330330
单击 CodeSandbox 中的 `index.js` 的文件。在本教程中我们不会编辑此文件,但它是 `App.js` 文件中创建的组件与 Web 浏览器之间的桥梁。
331331

332332
```jsx
333-
import { StrictMode } from 'react';
333+
import React, { StrictMode } from "react";
334334
import { createRoot } from 'react-dom/client';
335335
import './styles.css';
336336

0 commit comments

Comments
 (0)