añadi react
This commit is contained in:
parent
6e36d83551
commit
e34f23fee9
@ -1,8 +1,8 @@
|
||||
import{ usiState } from "react"
|
||||
import { useState } from "react"
|
||||
import Cuadrado from "./cuadros"
|
||||
|
||||
const Tablero =()=>{
|
||||
const [cuadros, setCuadros]= usiState(Array(9).fill(''))
|
||||
const [cuadros, setCuadros] = useState(Array(9).fill(""));
|
||||
const [turno, setTuerno]=usiState('X')
|
||||
|
||||
const pintaFigura=(indexItem)=>{
|
||||
|
13765
package-lock.json
generated
13765
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
13
package.json
13
package.json
@ -9,14 +9,15 @@
|
||||
"lint": "next lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"react": "^18",
|
||||
"react-dom": "^18",
|
||||
"next": "14.2.8"
|
||||
"next": "14.2.8",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1",
|
||||
"react-scripts": "^5.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"postcss": "^8",
|
||||
"tailwindcss": "^3.4.1",
|
||||
"eslint": "^8",
|
||||
"eslint-config-next": "14.2.8"
|
||||
"eslint-config-next": "14.2.8",
|
||||
"postcss": "^8",
|
||||
"tailwindcss": "^3.4.1"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user