Skip to content

Commit

Permalink
delete the logs
Browse files Browse the repository at this point in the history
Signed-off-by: sarinailinger <[email protected]>
  • Loading branch information
sarinailinger authored and DvoraShechter1 committed Oct 31, 2024
1 parent 4b7837c commit cbeedda
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,6 @@ export const MultiselectFilterControl = <TItem,>({
const [openGroups, setOpenGroups] = React.useState<string[]>([]);

const toggleGroup = (groupLabel: string) => {
console.log("Toggled group:", groupLabel);

setOpenGroups((prev) =>
prev.includes(groupLabel)
? prev.filter((label) => label !== groupLabel)
Expand Down Expand Up @@ -277,16 +275,13 @@ export const MultiselectFilterControl = <TItem,>({
<React.Fragment key={groupLabel}>
<div
onClick={(event) => {
console.log("Clicked group:", groupLabel);
toggleGroup(groupLabel!);
}}
>
<SelectOption
isDisabled
hasCheckbox={false}
onClick={(event) => {
console.log("Clicked group:", groupLabel);
}}
onClick={(event) => {}}
>
{openGroups.includes(groupLabel!) ? (
<CaretDownIcon />
Expand Down

0 comments on commit cbeedda

Please sign in to comment.