diff --git a/front/src/modules/companies/components/CompanyBoardCard.tsx b/front/src/modules/companies/components/CompanyBoardCard.tsx
index 5c9c0371b..32815bab1 100644
--- a/front/src/modules/companies/components/CompanyBoardCard.tsx
+++ b/front/src/modules/companies/components/CompanyBoardCard.tsx
@@ -132,9 +132,7 @@ export function CompanyBoardCard() {
/>
{company.name}
-
-
-
+
diff --git a/front/src/modules/ui/board/components/Board.tsx b/front/src/modules/ui/board/components/Board.tsx
index 063d783da..6ce57d752 100644
--- a/front/src/modules/ui/board/components/Board.tsx
+++ b/front/src/modules/ui/board/components/Board.tsx
@@ -21,7 +21,6 @@ export function getOptimisticlyUpdatedBoard(
board: BoardPipelineStageColumn[],
result: DropResult,
) {
- // TODO: review any types
const newBoard = JSON.parse(JSON.stringify(board));
const { destination, source } = result;
if (!destination) return;
diff --git a/front/src/modules/ui/components/form/Checkbox.tsx b/front/src/modules/ui/components/form/Checkbox.tsx
index 6b94d8162..af70f9351 100644
--- a/front/src/modules/ui/components/form/Checkbox.tsx
+++ b/front/src/modules/ui/components/form/Checkbox.tsx
@@ -6,7 +6,7 @@ import { IconCheck } from '@/ui/icons/index';
type OwnProps = {
checked: boolean;
indeterminate?: boolean;
- onChange?: (newCheckedValue: boolean) => void;
+ onChange: () => void;
};
const StyledContainer = styled.div`
@@ -65,18 +65,13 @@ export function Checkbox({ checked, onChange, indeterminate }: OwnProps) {
}
}, [ref, indeterminate, checked]);
- function handleChange(event: React.ChangeEvent) {
- onChange?.(event.target.checked);
- }
-
return (
-
+
{checked && }
diff --git a/front/src/modules/ui/components/menu/DropdownMenuCheckableItem.tsx b/front/src/modules/ui/components/menu/DropdownMenuCheckableItem.tsx
index 8997bd8b0..93c1e3862 100644
--- a/front/src/modules/ui/components/menu/DropdownMenuCheckableItem.tsx
+++ b/front/src/modules/ui/components/menu/DropdownMenuCheckableItem.tsx
@@ -42,9 +42,9 @@ export function DropdownMenuCheckableItem({
}
return (
-
+
-
+
{children}
diff --git a/front/src/modules/ui/components/table/CheckboxCell.tsx b/front/src/modules/ui/components/table/CheckboxCell.tsx
index b9beafea0..9636947e8 100644
--- a/front/src/modules/ui/components/table/CheckboxCell.tsx
+++ b/front/src/modules/ui/components/table/CheckboxCell.tsx
@@ -10,7 +10,6 @@ import { Checkbox } from '../form/Checkbox';
const StyledContainer = styled.div`
align-items: center;
- cursor: pointer;
display: flex;
height: 32px;
@@ -33,11 +32,8 @@ export function CheckboxCell() {
}
return (
-
-
+
+
);
}
diff --git a/front/src/modules/ui/components/table/SelectAllCheckbox.tsx b/front/src/modules/ui/components/table/SelectAllCheckbox.tsx
index 88e0de08e..58d42da95 100644
--- a/front/src/modules/ui/components/table/SelectAllCheckbox.tsx
+++ b/front/src/modules/ui/components/table/SelectAllCheckbox.tsx
@@ -8,7 +8,6 @@ import { Checkbox } from '../form/Checkbox';
const StyledContainer = styled.div`
align-items: center;
- cursor: pointer;
display: flex;
height: 32px;
@@ -26,11 +25,12 @@ export const SelectAllCheckbox = () => {
const indeterminate = allRowsSelectedStatus === 'some';
return (
-
-
+
+
);
};
diff --git a/front/src/pages/people/__stories__/People.inputs.stories.tsx b/front/src/pages/people/__stories__/People.inputs.stories.tsx
index f3d423fc9..ee1cb5f20 100644
--- a/front/src/pages/people/__stories__/People.inputs.stories.tsx
+++ b/front/src/pages/people/__stories__/People.inputs.stories.tsx
@@ -81,7 +81,7 @@ export const CheckCheckboxes: Story = {
await canvas.findByText(mockedPeopleData[0].email);
const inputCheckboxContainers = await canvas.findAllByTestId(
- 'input-checkbox-cell-container',
+ 'input-checkbox',
);
const inputCheckboxes = await canvas.findAllByTestId('input-checkbox');