diff --git a/backend/src/components/MultipleSelect.tsx b/backend/src/components/MultipleSelect.tsx index f99bc5cd..aa91a2d9 100644 --- a/backend/src/components/MultipleSelect.tsx +++ b/backend/src/components/MultipleSelect.tsx @@ -1,8 +1,13 @@ -import React, { - useState, useEffect, forwardRef, useRef, useImperativeHandle -} from 'react' +import React, { useState, useEffect, forwardRef, useRef, useImperativeHandle } from 'react' import { - Autocomplete, TextField, InputAdornment, Avatar, SxProps, Theme, TextFieldVariants, AutocompleteInputChangeReason + Autocomplete, + TextField, + InputAdornment, + Avatar, + SxProps, + Theme, + TextFieldVariants, + AutocompleteInputChangeReason } from '@mui/material' import { LocationOn as LocationIcon, AccountCircle } from '@mui/icons-material' import * as movininTypes from 'movinin-types' @@ -12,19 +17,19 @@ import Env from '../config/env.config' import '../assets/css/multiple-select.css' const ListBox: React.ComponentType> = forwardRef((props, ref) => { - const { children, ...rest }: { children?: React.ReactNode } = props + const { children, ...rest }: { children?: React.ReactNode } = props - const innerRef = useRef(null) + const innerRef = useRef(null) - useImperativeHandle(ref, () => innerRef.current) + useImperativeHandle(ref, () => innerRef.current) - return ( - // eslint-disable-next-line - - ) - }) + return ( + // eslint-disable-next-line + + ) +}) function MultipleSelect({ label,