mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 19:16:41 +07:00
render: moved functions out of Renderer
render: created reducer data structure
This commit is contained in:
parent
af2107984a
commit
857a2a0c12
4 changed files with 107 additions and 90 deletions
|
@ -32,7 +32,7 @@ const Component = (props: Props) => (
|
|||
|
||||
|
||||
const mapStateToProps = ({ user }) => ({
|
||||
renderer_active: user.renderer_active
|
||||
renderer_active: user.renderer.renderer_active
|
||||
});
|
||||
const mapDispatchToProps = dispatch => bindActionCreators({ hideRenderer }, dispatch);
|
||||
export const App = connect(mapStateToProps, mapDispatchToProps)(hot(module)(Component));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue