diff options
Diffstat (limited to 'src/App.tsx')
-rw-r--r-- | src/App.tsx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/App.tsx b/src/App.tsx index 1ed1ffd..add7c08 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,7 +1,5 @@ import { GameCanvas } from "./components/GameCanvas"; - -const WIDTH = 800; -const HEIGHT = 800; +import { Miscellaneous } from "./engine/config"; export const App = () => { return ( @@ -12,7 +10,7 @@ export const App = () => { </div> </div> <div className="content"> - <GameCanvas width={WIDTH} height={HEIGHT} /> + <GameCanvas width={Miscellaneous.WIDTH} height={Miscellaneous.HEIGHT} /> </div> <div className="footer"> <span> |