Added unused imports and vars and fixed lint (#929)
This commit is contained in:
@ -1,4 +1,3 @@
|
||||
import React from 'react';
|
||||
import styled from '@emotion/styled';
|
||||
|
||||
import { Checkbox } from '@/ui/input/components/Checkbox';
|
||||
@ -19,7 +18,8 @@ export const SelectAllCheckbox = () => {
|
||||
|
||||
const checked = allRowsSelectedStatus === 'all';
|
||||
const indeterminate = allRowsSelectedStatus === 'some';
|
||||
function onChange(value: boolean) {
|
||||
|
||||
function onChange() {
|
||||
selectAllRows();
|
||||
}
|
||||
|
||||
|
||||
@ -36,7 +36,6 @@ export function EditableCellDoubleTextEditMode({
|
||||
secondValue,
|
||||
firstValuePlaceholder,
|
||||
secondValuePlaceholder,
|
||||
onChange,
|
||||
onSubmit,
|
||||
onCancel,
|
||||
}: OwnProps) {
|
||||
|
||||
@ -7,20 +7,16 @@ import { EditableCell } from '../components/EditableCell';
|
||||
type OwnProps = {
|
||||
placeholder?: string;
|
||||
value: string;
|
||||
onChange?: (newValue: string) => void;
|
||||
editModeHorizontalAlign?: 'left' | 'right';
|
||||
loading?: boolean;
|
||||
onSubmit?: (newText: string) => void;
|
||||
onCancel?: () => void;
|
||||
};
|
||||
|
||||
export function EditableCellText({
|
||||
value,
|
||||
placeholder,
|
||||
onChange,
|
||||
editModeHorizontalAlign,
|
||||
loading,
|
||||
onCancel,
|
||||
onSubmit,
|
||||
}: OwnProps) {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user