Skip to content

Commit

Permalink
Merge pull request react-bootstrap#734 from AlexKVal/731
Browse files Browse the repository at this point in the history
Fix for `babel ES6 import` + `React` quirk.
  • Loading branch information
aabenoja committed May 26, 2015
2 parents 4e3a15f + 3ebac95 commit efd44d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/CollapsableNav.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React from 'react';
import deprecationWarning from './utils/deprecationWarning';
import assign from './utils/Object.assign';
import {specCollapsibleNav} from './CollapsibleNav';
import CollapsibleNav from './CollapsibleNav';

const specCollapsableNav = assign({}, specCollapsibleNav, {
const specCollapsableNav = assign({}, CollapsibleNav._spec, {
componentDidMount() {
deprecationWarning(
'CollapsableNav',
Expand Down
2 changes: 1 addition & 1 deletion src/CollapsibleNav.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,6 @@ const specCollapsibleNav = {
};

const CollapsibleNav = React.createClass(specCollapsibleNav);
CollapsibleNav._spec = specCollapsibleNav;

export {specCollapsibleNav};
export default CollapsibleNav;

0 comments on commit efd44d0

Please sign in to comment.