Skip to content

Commit 0a2ea70

Browse files
committed
type fix
1 parent dc065a0 commit 0a2ea70

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/components/Search/FilterDropdowns/DropdownButton.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import type {ReactNode} from 'react';
22
import React, {useCallback, useMemo, useRef, useState} from 'react';
33
import {View} from 'react-native';
4-
import type {View as ViewType} from 'react-native';
54
import Button from '@components/Button';
65
import CaretWrapper from '@components/CaretWrapper';
76
import PopoverWithMeasuredContent from '@components/PopoverWithMeasuredContent';
@@ -49,8 +48,8 @@ function DropdownButton({label, value, viewportOffsetTop, PopoverComponent}: Dro
4948
const styles = useThemeStyles();
5049
const StyleUtils = useStyleUtils();
5150
const {windowHeight} = useWindowDimensions();
52-
const triggerRef = useRef<ViewType | null>(null);
53-
const anchorRef = useRef<ViewType | null>(null);
51+
const triggerRef = useRef<View | null>(null);
52+
const anchorRef = useRef<View | null>(null);
5453
const [isOverlayVisible, setIsOverlayVisible] = useState(false);
5554
const {calculatePopoverPosition} = usePopoverPosition();
5655

0 commit comments

Comments
 (0)