Skip to content
Snippets Groups Projects
Commit 1ea0975b authored by Chris Beer's avatar Chris Beer
Browse files

Pass props to plugins

parent c0dd7a2c
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} />
</>
);
}
......
......@@ -314,7 +314,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