Skip to content
Snippets Groups Projects
Unverified Commit 4d957996 authored by Jack Reed's avatar Jack Reed Committed by GitHub
Browse files

Merge pull request #3143 from ProjectMirador/plugin-props

Pass props to plugins
parents dd168726 1ea0975b
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ export class ErrorContent extends Component {
</ExpansionPanelDetails>
</ExpansionPanel>
)}
<PluginHook error={error} />
<PluginHook {...this.props} />
</>
);
}
......
......@@ -333,7 +333,7 @@ export class OpenSeadragonViewer extends Component {
{ drawAnnotations
&& <AnnotationsOverlay viewer={viewer} windowId={windowId} /> }
{ enhancedChildren }
<PluginHook viewer={viewer} windowId={windowId} />
<PluginHook viewer={viewer} {...{ ...this.props, children: null }} />
</section>
</>
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment