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 named export 'contains' is imported as default #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bass-dandy
Copy link

FlipCard.js imports contains as default
https://github.com/Dash-OS/react-flipcard-2/blob/master/src/components/FlipCard.js#L5

contains is exported as a named export
https://github.com/Dash-OS/react-flipcard-2/blob/master/src/helpers/contains.js#L3

This breaks projects that do not transform es6-style modules

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant