Skip to content

Commit

Permalink
Upgrading Storybook. Getting rid of NPM vulnerabilities.
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianGenisio committed Oct 8, 2018
1 parent 01c0db9 commit 85ab8eb
Show file tree
Hide file tree
Showing 13 changed files with 11,579 additions and 3,969 deletions.
2 changes: 1 addition & 1 deletion .storybook/config.js
Expand Up @@ -3,7 +3,7 @@
// This is an auto generated file with React CDK.
// Do not modify this file.

import {configure} from '@kadira/storybook';
import {configure} from '@storybook/react';

function loadStories() {
require('../src/stories/index.js');
Expand Down
2 changes: 1 addition & 1 deletion dist/bundled.js
Expand Up @@ -1307,7 +1307,7 @@ var SelectList = function (_Component) {
return options.map(function (o, i) {
return _react2.default.createElement(
'li',
{ style: styles.listItem, key: i },
{ style: styles.listItem, key: o.hasOwnProperty("key") ? o.key : i },
_react2.default.createElement(_selectItem2.default, {
focused: focusIndex === i,
option: o,
Expand Down
2 changes: 1 addition & 1 deletion dist/bundled.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/select-list.js
Expand Up @@ -80,7 +80,7 @@ var SelectList = function (_Component) {
return options.map(function (o, i) {
return _react2.default.createElement(
'li',
{ style: styles.listItem, key: i },
{ style: styles.listItem, key: o.hasOwnProperty("key") ? o.key : i },
_react2.default.createElement(_selectItem2.default, {
focused: focusIndex === i,
option: o,
Expand Down

0 comments on commit 85ab8eb

Please sign in to comment.