mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-22 21:16:14 -04:00
wip
This commit is contained in:
parent
6299f7e86b
commit
ebbf482d0e
2 changed files with 3 additions and 22 deletions
|
@ -28,7 +28,7 @@ function App() {
|
|||
|
||||
const deleteLevel = useCallback((li: number) => {
|
||||
if (confirm("Delete level")) {
|
||||
setLevels(allLevels.filter((l, i) => i !== li));
|
||||
setLevels(levels.filter((l, i) => i !== li));
|
||||
}
|
||||
}, []);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue