Skip to content

Commit

Permalink
Merge pull request #5900 from 44px/patch-4
Browse files Browse the repository at this point in the history
Fix typo in example, use MyPanel component
  • Loading branch information
shilman committed Mar 7, 2019
1 parent d78a8d3 commit 78e33cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/pages/addons/writing-addons/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class MyPanel extends React.Component {
}

addons.register(ADDON_ID, api => {
const render = ({ active }) => <Panel api={api} active={active} />;
const render = ({ active }) => <MyPanel api={api} active={active} />;
const title = 'My Addon';

addons.add(PANEL_ID, {
Expand Down

0 comments on commit 78e33cd

Please sign in to comment.