From 0f56bb71743ad6c9f2c76937ba38f4ef2ea4720e Mon Sep 17 00:00:00 2001 From: David Lechner Date: Wed, 26 Oct 2022 16:39:00 -0500 Subject: [PATCH] app/actions: drop didStart This action is no longer used. --- src/app/actions.ts | 5 ----- src/sagas.ts | 4 +--- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/app/actions.ts b/src/app/actions.ts index 2be6281d..546c5239 100644 --- a/src/app/actions.ts +++ b/src/app/actions.ts @@ -43,8 +43,3 @@ export const appDidResolveInstallPrompt = createAction( export const didInstall = createAction(() => ({ type: 'app.action.didInstall', })); - -/** Creates an action that indicates the app has just started. */ -export const didStart = createAction(() => ({ - type: 'app.action.didStart', -})); diff --git a/src/sagas.ts b/src/sagas.ts index ca8c22c3..5dbf0407 100644 --- a/src/sagas.ts +++ b/src/sagas.ts @@ -1,9 +1,8 @@ // SPDX-License-Identifier: MIT // Copyright (c) 2020-2022 The Pybricks Authors -import { all, put } from 'typed-redux-saga/macro'; +import { all } from 'typed-redux-saga/macro'; import alerts, { AlertsSagaContext } from './alerts/sagas'; -import { didStart } from './app/actions'; import app from './app/sagas'; import blePybricksService from './ble-pybricks-service/sagas'; import ble from './ble/sagas'; @@ -37,7 +36,6 @@ export default function* (): Generator { mpy(), notifications(), terminal(), - put(didStart()), ]); }