Skip to content

Conversation

@lukeschunk
Copy link
Contributor

This PR

  • Adds glamor as a dependency
  • Uses Glamor in the Button component ( I think this will fix a bug internally )


return (
<button
className={css(Object.assign({}, styles.component, styles[this.props.type], style))}
Copy link
Contributor

Choose a reason for hiding this comment

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

I know the object assign was already there but could you switch it object spread while you're here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍

}

module.exports = Radium(Button);
module.exports = Button;
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you think that removing Radium will fix the bug you are experiencing?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i do

@cerinman
Copy link
Contributor

:shipit:

@lukeschunk lukeschunk merged commit 54b61f3 into master Mar 14, 2018
@lukeschunk lukeschunk deleted the luke/use_glamor_in_button branch March 14, 2018 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants