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

Luke/use glamor in button #713

Merged
merged 5 commits into from
Mar 14, 2018
Merged

Luke/use glamor in button #713

merged 5 commits into from
Mar 14, 2018

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 )

@@ -66,9 +67,9 @@ class Button extends React.Component {

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.

👍

@@ -248,4 +249,4 @@ class Button extends React.Component {
};
}

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.

None yet

2 participants