From 7fca7dd6039cec4ed63201403152058b9f91c7b3 Mon Sep 17 00:00:00 2001 From: customcommander Date: Sun, 13 Oct 2024 16:48:31 +0100 Subject: [PATCH] remove unused dispatch action in game state machine --- src/game.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/game.js b/src/game.js index ec71742..cc05e5a 100644 --- a/src/game.js +++ b/src/game.js @@ -106,13 +106,6 @@ const src = setup({ 'error-dismiss': assign({error: null}), - - 'dispatch': - sendTo(({system}) => system.get('dispatcher'), - (_, params) => ({ - type: 'dispatch', - jobs: params - })) }, guards: {