Skip to content

Commit

Permalink
fix compatibility issue
Browse files Browse the repository at this point in the history
  • Loading branch information
usulpro committed Sep 17, 2018
1 parent 15defba commit 9a2bbbc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "storybook-addon-material-ui",
"version": "0.9.0-alpha.15",
"version": "0.9.0-alpha.16",
"description": "Storybook Addon for Material Ui Library",
"main": "dist/index.js",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/register.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { ADDON_ID, PANEL_ID } from './config';
addons.register(ADDON_ID, api => {
addons.addPanel(PANEL_ID, {
title: 'Material-UI',
render: ({ active }) => (
render: ({ active } = {}) => (
<AddonPanel api={api} active={active} panel pointName="addon panel" />
)
});
Expand Down

0 comments on commit 9a2bbbc

Please sign in to comment.