From 8baaeeac019dd7ad92dff43f406262f10b2bba20 Mon Sep 17 00:00:00 2001 From: dntzhang Date: Thu, 19 Oct 2023 16:17:45 +0800 Subject: [PATCH] chore: lint fix --- packages/snake-game-3tier/src/store/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/snake-game-3tier/src/store/index.ts b/packages/snake-game-3tier/src/store/index.ts index 1b1b89517e..81dd54a819 100644 --- a/packages/snake-game-3tier/src/store/index.ts +++ b/packages/snake-game-3tier/src/store/index.ts @@ -7,7 +7,7 @@ class Store { map: number[][] game: Game state: SignalValue<{ map: number[][], paused: boolean }> - + constructor() { const game = new Game({ onTick: () => { @@ -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