mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-04-25 12:19:10 +00:00
10 lines
378 B
JavaScript
10 lines
378 B
JavaScript
import { namespaceConfig } from 'fast-redux'
|
|
import { getCurrentServerState } from './currentServer'
|
|
|
|
export const { action, getState: getCurrentRoles } = namespaceConfig('roles', {})
|
|
|
|
export const updateCurrentRoles = action('updateCurrentRoles', (state, data) => data)
|
|
|
|
export const renderRoles = (dispatch, getState) => {
|
|
const server = getCurrentServerState(getState())
|
|
}
|