Minify code

This commit is contained in:
Manuel Thalmann 2022-12-15 14:29:07 +01:00
parent 023c725aae
commit c091e5c808
No known key found for this signature in database
GPG key ID: 5FD9AD3CCDDBD27B

View file

@ -142,33 +142,9 @@ export function MenuBar(game)
return [ return [
"div", "div",
{ className: "menu-bar" }, { className: "menu-bar" },
[ [Button, ["New Game", { className: newGameClass }]],
Button, [Button, ["Save Game", { className: saveGameClass }]],
[ [Button, ["Load Game", { className: loadGameClass }]]
"New Game",
{
className: newGameClass
}
]
],
[
Button,
[
"Save Game",
{
className: saveGameClass
}
]
],
[
Button,
[
"Load Game",
{
className: loadGameClass
}
]
]
]; ];
} }