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";
export default class IconBorder extends Component {
constructor() {
super();
this.state = {}
this.state = {};
}
componentDidMount() {
this.setState({
childWidth: React.findDOMNode(this.refs.child).offsetWidth
})
});
}
computeSize () {
let width = parseInt(this.state.childWidth, 10);
......
......@@ -5,7 +5,7 @@ import cx from 'classnames';
export default class UserAvatar extends Component {
constructor(props) {
super(props)
super(props);
this.styles = {
fontSize: '0.85rem',
borderWidth: '1px',
......
......@@ -50,13 +50,6 @@
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 {
color: #fff;
}
......
'use strict';
import React, { Component } from 'react';
export default class Smile extends Component {
render() {
let styles = {
const styles = {
width: '48px',
height: '48px',
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