Broken calendar component (#3525)
* #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 <charles@twenty.com>
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
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 = ({
|
||||
@ -8,7 +7,7 @@ export const MultipleFiltersDropdownFilterOnFilterChangedEffect = ({
|
||||
}: {
|
||||
filterDefinitionUsedInDropdownType: string | undefined;
|
||||
}) => {
|
||||
const { setDropdownWidth } = useDropdown(ObjectFilterDropdownId);
|
||||
const { setDropdownWidth } = useDropdown();
|
||||
|
||||
useEffect(() => {
|
||||
switch (filterDefinitionUsedInDropdownType) {
|
||||
|
||||
Reference in New Issue
Block a user