diff --git a/package.json b/package.json index 4b1d4ff..0173af4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@revibe-dev/revibe-component-library", - "version": "1.0.1", + "version": "1.0.2", "description": "A component library built for sharing components to all the Revibe websites (main site, Aritst Portal, etc.).", "main": "./src/components/index.js", "scripts": { diff --git a/src/components/Button/Button.jsx b/src/components/Button/Button.jsx index c2b3e58..347effb 100644 --- a/src/components/Button/Button.jsx +++ b/src/components/Button/Button.jsx @@ -16,7 +16,7 @@ class Button extends React.Component { super(props) } - getIconClassBySocial = social => { + getIconClassBySocial(social) { switch(social) { case "twitter": return "fab fa-twitter"; diff --git a/src/components/TextInput/TextInput.jsx b/src/components/TextInput/TextInput.jsx index 73fc899..46ba290 100644 --- a/src/components/TextInput/TextInput.jsx +++ b/src/components/TextInput/TextInput.jsx @@ -39,11 +39,11 @@ class TextInput extends React.Component { this.onBlur = this.onBlur.bind(this) } - onFocus = () => { + onFocus() { this.setState({ focused: "input-group-focus" }) } - onBlur = () => { + onBlur() { this.setState({ focused: "" }) }