Skip to content

Commit

Permalink
Broken calendar component (#3525)
Browse files Browse the repository at this point in the history
* #3520 Fix broken calendar component on filter

* #3520 fix the calender component

* #3520 fix error lint and test issue

* resolved lint error

* Fix according to review

---------

Co-authored-by: Charles Bochet <[email protected]>
  • Loading branch information
jeet1desai and charlesBochet authored Jan 23, 2024
1 parent fd5cae6 commit c9e326f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import { useEffect } from 'react';

import { ObjectFilterDropdownId } from '@/object-record/object-filter-dropdown/constants/ObjectFilterDropdownId';
import { useDropdown } from '@/ui/layout/dropdown/hooks/useDropdown';

export const MultipleFiltersDropdownFilterOnFilterChangedEffect = ({
filterDefinitionUsedInDropdownType,
}: {
filterDefinitionUsedInDropdownType: string | undefined;
}) => {
const { setDropdownWidth } = useDropdown(ObjectFilterDropdownId);
const { setDropdownWidth } = useDropdown();

useEffect(() => {
switch (filterDefinitionUsedInDropdownType) {
Expand Down

0 comments on commit c9e326f

Please sign in to comment.