diff --git a/src/store.ts b/src/store.ts index ea01db3..409445a 100644 --- a/src/store.ts +++ b/src/store.ts @@ -10,6 +10,7 @@ import { ThunkAction } from "redux-thunk"; import { mixerMiddleware, mixerKeyboardShortcutsMiddleware, + startNewsTimer, } from "./mixer/state"; import { persistStore, @@ -71,4 +72,8 @@ export const persistor = persistStore(store); export type AppDispatch = typeof store.dispatch; export type AppThunk = ThunkAction>; +if (!process.env.REACT_APP_BAPSICLE_INTERFACE) { + store.dispatch(startNewsTimer() as any); +} + export default store;