fixes to transition OHIF Viewer to redux
This commit is contained in:
1 parent
5dec28ba8c
commit
6706dfe634
7 files changed
+606
-147
No files matched your search
@@ -12,7 +12,6 @@ import './ViewerMain.styl';
|
||||
import { Component } from 'react';
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { Provider } from 'react-redux';
|
||||
|
||||
Meteor.startup(() => {
|
||||
window.ResizeViewportManager = window.ResizeViewportManager || new ResizeViewportManager();
|
||||
@@ -84,11 +83,9 @@ class ViewerMain extends Component {
|
||||
|
||||
render() {
|
||||
return (
|
||||
<Provider store={window.store}>
|
||||
<div className="viewerMain">
|
||||
{this.state.contents}
|
||||
</div>
|
||||
</Provider>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user