mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
c07702330d
* Moving entityGetter to utility folder * Import whitespace and if statement braces * newlines between multi-line if's
8 lines
190 B
JavaScript
8 lines
190 B
JavaScript
import stateEntityGetter from 'react-entity-getter';
|
|
|
|
const pathToEntities = (entityName) => {
|
|
return `entities[${entityName}].data`;
|
|
};
|
|
|
|
export default stateEntityGetter(pathToEntities);
|