src/client/components/pages/entities/cbReviewModal.tsx
File cbReviewModal.tsx
has 477 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/* eslint-disable react/no-unused-state */
/*
* Copyright (C) 2022 Ansh Goyal
*
* This program is free software; you can redistribute it and/or modify
Function render
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const hasPermissions = this.accessToken !== null;
const modalBody = this.getModalBody(hasPermissions);
const modalFooter = this.getModalFooter(hasPermissions);