grafana/public/app/features/profile/state/reducers.ts
2019-02-06 14:35:53 +01:00

15 lines
300 B
TypeScript

import { UserState } from 'app/types';
import config from 'app/core/config';
export const initialState: UserState = {
orgId: config.bootData.user.orgId,
};
export const userReducer = (state = initialState, action: any): UserState => {
return state;
};
export default {
user: userReducer,
};