Skip to content

Commit

Permalink
fix ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
hugolxt committed Dec 16, 2024
1 parent fe6eaf3 commit 79b92c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/extenders/Dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function Dropdown({
}: DropdownProps) {
const { vars } = useTheme();
const [internalState, setInternalState] = useState<boolean>(false);
const hideTimeout = useRef<NodeJS.Timeout | null>(null);
const hideTimeout = useRef<ReturnType<typeof setTimeout> | null>(null);

const closeModalWithDelay = useCallback(() => {
if (!internalState || !onHover) return;
Expand Down

0 comments on commit 79b92c2

Please sign in to comment.