1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import { appInfoActions, AppInfoAction } from "store/app-info/app-info-actions";
7 export interface AppInfoState {
11 const initialState = {
15 export const appInfoReducer = (state: AppInfoState = initialState, action: AppInfoAction) =>
16 appInfoActions.match(action, {
17 SET_BUILD_INFO: buildInfo => ({ ...state, buildInfo }),