mirror of
https://github.com/grafana/grafana.git
synced 2025-02-16 18:34:52 -06:00
15 lines
300 B
TypeScript
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,
|
|
};
|