This commit is contained in:
Renan LE CARO 2025-04-06 11:36:32 +02:00
parent ccd7f00a6a
commit ac2100860f
4 changed files with 6 additions and 4 deletions

View file

@ -21,7 +21,7 @@ function App() {
useEffect(()=>{
fetch('http://localhost:4400/src/data/levels.json')
.then(r=>r.json())
.then(list=>{
.then(list=>{
setLevels(list as RawLevel[])
allLevels=list
})