Showing 2 of 2 total issues
File button.js
has 254 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import React from "react";
import styled from "styled-components";
import Hotkeys from "react-hot-keys";
class Button extends React.Component {
- Create a ticketCreate a ticket
Function componentWillMount
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
componentWillMount() {
const content = this.props.content;
let hotkey;
if (!isNaN(content)) {
- Create a ticketCreate a ticket