Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(fix): Import PropTypes from "prop-types" package #3417

Merged
merged 2 commits into from
Dec 18, 2017

Conversation

mikemurray
Copy link
Member

@mikemurray mikemurray commented Dec 18, 2017

Fix what seems to be the last instance of importing PropTypes from the "react" package. Now imports it from the "prop-types" package as it should.

To Test

  • start reaction
  • see no warning in console
  • rejoice

import { DragDropManager } from "dnd-core";
import HTML5Backend from "react-dnd-html5-backend";
import { registerComponent } from "@reactioncommerce/reaction-components";

const defaultManager = new DragDropManager(HTML5Backend);

// /**
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this comment no longer relevant?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, as it applied to that commented out function below it.

Copy link
Collaborator

@zenweasel zenweasel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 🎉

@spencern spencern changed the base branch from master to release-1.6.2 December 18, 2017 23:38
@spencern spencern merged commit 954ccc4 into release-1.6.2 Dec 18, 2017
@spencern spencern deleted the mm-fix-proptypes branch December 18, 2017 23:40
@spencern spencern mentioned this pull request Dec 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants