scripts/core/ui/components/options-modal.tsx
Function showOptionsModal
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function showOptionsModal(title: string, message: string, options: Array<IOption>, dataTestId?: string): void {
class OptionsModal extends React.PureComponent<IProps, IState> {
constructor(props: IProps) {
super(props);
Function render
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
return (
<Modal
visible
zIndex={1050}