Skip to content

Commit

Permalink
Syntax fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
w3aseL committed Aug 12, 2020
1 parent b73d180 commit 3076f3d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Button/Button.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Button extends React.Component {
super(props)
}

getIconClassBySocial = social => {
getIconClassBySocial(social) {
switch(social) {
case "twitter":
return "fab fa-twitter";
Expand Down
4 changes: 2 additions & 2 deletions src/components/TextInput/TextInput.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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: "" })
}

Expand Down

0 comments on commit 3076f3d

Please sign in to comment.