appConfig.ts 203 Bytes
Newer Older
Oleksii Savran's avatar
Redux  
Oleksii Savran committed
1
2
3
4
5
6
7
import { RECEIVE_APP_CONFIG } from 'core/constants/appConfig';
import { Config } from 'config/config';

export const setConfig = (config: Config) => ({
  type: RECEIVE_APP_CONFIG,
  payload: config,
});