[ABANDONED] React/Redux front end for the Flexor social network.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

14 lines
320 B

import { Action } from 'redux'
import { Config } from 'src/types'
export interface SetConfigAction extends Action {
type: 'CONFIG_SET'
payload: Config
}
export type ConfigActions = SetConfigAction
export const setConfig = (config: Config): SetConfigAction => ({
type: 'CONFIG_SET',
payload: config
})