9 lines
256 B
TypeScript
9 lines
256 B
TypeScript
import * as ActionTypes from '../actionTypes'
|
|
import { SetRelayMapAction } from './types'
|
|
import { RelayMap } from '../../types'
|
|
|
|
export const setRelayMapAction = (payload: RelayMap): SetRelayMapAction => ({
|
|
type: ActionTypes.SET_RELAY_MAP,
|
|
payload
|
|
})
|