Files
mqtt-explorer/app/src/actions/UpdateNotifier.ts
2026-01-30 20:53:29 +01:00

12 lines
356 B
TypeScript

import { ActionTypes, GlobalAction } from '../reducers/Global'
export const showUpdateNotification = (show: boolean): GlobalAction => ({
type: ActionTypes.showUpdateNotification,
showUpdateNotification: show,
})
export const showUpdateDetails = (show: boolean): GlobalAction => ({
type: ActionTypes.showUpdateDetails,
showUpdateDetails: show,
})