Skip to content
Snippets Groups Projects
Commit e8a1ef7b authored by Kyle Doherty's avatar Kyle Doherty
Browse files

non proptype code review

parent 0444395c
No related branches found
No related tags found
No related merge requests found
...@@ -6,12 +6,12 @@ import cx from "classnames"; ...@@ -6,12 +6,12 @@ import cx from "classnames";
export default class IconBorder extends Component { export default class IconBorder extends Component {
constructor() { constructor() {
super(); super();
this.state = {} this.state = {};
} }
componentDidMount() { componentDidMount() {
this.setState({ this.setState({
childWidth: React.findDOMNode(this.refs.child).offsetWidth childWidth: React.findDOMNode(this.refs.child).offsetWidth
}) });
} }
computeSize () { computeSize () {
let width = parseInt(this.state.childWidth, 10); let width = parseInt(this.state.childWidth, 10);
......
...@@ -5,7 +5,7 @@ import cx from 'classnames'; ...@@ -5,7 +5,7 @@ import cx from 'classnames';
export default class UserAvatar extends Component { export default class UserAvatar extends Component {
constructor(props) { constructor(props) {
super(props) super(props);
this.styles = { this.styles = {
fontSize: '0.85rem', fontSize: '0.85rem',
borderWidth: '1px', borderWidth: '1px',
......
...@@ -50,13 +50,6 @@ ...@@ -50,13 +50,6 @@
transition: background .2s linear; transition: background .2s linear;
} }
.AdminNav .UserNick {
color: #fff;
border-color: #fff;
background-color: #fff;
background-color: rgba(255, 255, 255, 0.3);
}
.AdminNav .Dropdown-chevron { .AdminNav .Dropdown-chevron {
color: #fff; color: #fff;
} }
......
'use strict';
import React, { Component } from 'react'; import React, { Component } from 'react';
export default class Smile extends Component { export default class Smile extends Component {
render() { render() {
let styles = { const styles = {
width: '48px', width: '48px',
height: '48px', height: '48px',
backgroundImage: 'url("app/components/icons/assets/smile.svg")', backgroundImage: 'url("app/components/icons/assets/smile.svg")',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment