Showing 7 of 85 total issues
Function render
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const { volume, channel, power } = this.props;
const buttonClasses = type =>
classNames({
btn: true,
Function render
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const { ip, startup } = this.props;
return (
<Layout buttonLink="/">
Function render
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const { volume, channel, power } = this.props;
const buttonClasses = type =>
classNames({
btn: true,
Function render
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const { ip, startup } = this.props;
return (
<div className="window-content window-content--flex-inner">
Function renderModalContent
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
renderModalContent() {
const { $pending, $error } = this.props;
const inProgress = $pending.length && $pending.filter(pendingAction => pendingAction === 'getPower').length > 0;
if ($error) {
return (
Function renderModalContent
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
renderModalContent() {
const { $pending, $error } = this.props;
const inProgress = $pending.length && $pending.filter(pendingAction => pendingAction === 'getPower').length > 0;
if ($error) {
return (
Function denonReducer
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function denonReducer(state: DenonState = INITAL_STATE, action: ReduxStandardAction): DenonState {
switch (action.type) {
case DENON_ACTIONS.reset:
return resetAll();
case DENON_ACTIONS.error: