Skip to content

Commit

Permalink
Merge pull request #32 from iamdustan/react-clone-with-props
Browse files Browse the repository at this point in the history
require react/lib/cloneWithProps directly instead of through addons
  • Loading branch information
ericclemmons committed Apr 25, 2015
2 parents 8c69579 + a134120 commit 8e6a74c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Container.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React from "react/addons";
import React from "react";
import cloneWithProps from "react/lib/cloneWithProps";

import ResolverError from "./ResolverError";

const { Children } = React;
const { cloneWithProps } = React.addons;

class Container extends React.Component {
constructor(props, context) {
Expand Down

0 comments on commit 8e6a74c

Please sign in to comment.