Skip to content

Check that 'this' is defined in color.js#18

Open
adamveld12 wants to merge 1 commit intosebmarkbage:masterfrom
adamveld12:color_fix
Open

Check that 'this' is defined in color.js#18
adamveld12 wants to merge 1 commit intosebmarkbage:masterfrom
adamveld12:color_fix

Conversation

@adamveld12
Copy link

When using this with react-native, I kept getting 'Cannot access property 'hex' of undefined' and it turns out that this is undefined. A simple guard check helped it load correctly.

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.

2 participants