Skip to content

Commit

Permalink
Adding type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
galvana committed Aug 11, 2023
1 parent 0d00b74 commit 0b9dfb4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
Tooltip,
} from "@fidesui/react";
import { debounce } from "common/utils";
import { useCallback, useMemo, useState, useRef } from "react";
import { useCallback, useMemo, useRef, useState } from "react";

import { useAppSelector } from "~/app/hooks";
import {
Expand Down Expand Up @@ -143,7 +143,7 @@ const ConnectionListDropdown: React.FC<SelectDropdownProps> = ({
onChange,
selectedValue,
}) => {
const inputRef = useRef(null);
const inputRef = useRef<HTMLInputElement>(null);

// Hooks
const [isOpen, setIsOpen] = useState(false);
Expand Down

0 comments on commit 0b9dfb4

Please sign in to comment.