Skip to content

Commit

Permalink
chore: lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dntzhang committed Oct 19, 2023
1 parent 95bdf44 commit 8baaeea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/snake-game-3tier/src/store/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class Store {
map: number[][]
game: Game
state: SignalValue<{ map: number[][], paused: boolean }>

constructor() {
const game = new Game({
onTick: () => {
Expand All @@ -19,7 +19,7 @@ class Store {
this.map = map
this.game = game
game.start()
this.state = signal( { map: game.map, paused: false })
this.state = signal({ map: game.map, paused: false })
}

@bind
Expand Down

0 comments on commit 8baaeea

Please sign in to comment.