Skip to content

Commit

Permalink
Fixes Keyboard Shortcuts help extension (#63583) (#63611)
Browse files Browse the repository at this point in the history
  • Loading branch information
Corey Robertson committed Apr 15, 2020
1 parent 966f659 commit d4feaa7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x-pack/legacy/plugins/canvas/public/application.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,9 @@ export const initializeCanvas = async (
href: getDocumentationLinks().canvas,
},
],
content: domNode => () => {
content: domNode => {
ReactDOM.render(<HelpMenu />, domNode);
return () => ReactDOM.unmountComponentAtNode(domNode);
},
});

Expand Down

0 comments on commit d4feaa7

Please sign in to comment.