diff --git a/frontend/src/Components/Dropdown/Dropdown.tsx b/frontend/src/Components/Dropdown/Dropdown.tsx index 4c0e3a524..d13d49bb0 100644 --- a/frontend/src/Components/Dropdown/Dropdown.tsx +++ b/frontend/src/Components/Dropdown/Dropdown.tsx @@ -1,7 +1,8 @@ import { Icon } from '@iconify/react'; import { default as classNames, default as classnames } from 'classnames'; -import { ChangeEvent, ReactElement } from 'react'; +import { ChangeEvent, ReactElement, useEffect, useState } from 'react'; import styles from './Dropdown.module.scss'; +import { init } from 'i18next'; export type DropDownOption = { label: string; @@ -29,6 +30,7 @@ export function Dropdown({ disabled = false, error, }: DropdownProps) { + const [startVal, setStartValue] = useState(-1); /** * Handles the raw change event from