1
0
Fork 0

apply more lint

This commit is contained in:
Sean Sube 2023-03-18 21:51:49 -05:00
parent 9a949806d3
commit 74ca6e813c
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 1 additions and 2 deletions

View File

@ -2,7 +2,6 @@ import { doesExist, Maybe, mustDefault, mustExist } from '@apextoaster/js-utils'
import { KeyboardArrowDown } from '@mui/icons-material'; import { KeyboardArrowDown } from '@mui/icons-material';
import { Alert, Box, Button, FormControl, FormLabel, LinearProgress, Menu, MenuItem, Typography } from '@mui/material'; import { Alert, Box, Button, FormControl, FormLabel, LinearProgress, Menu, MenuItem, Typography } from '@mui/material';
import * as React from 'react'; import * as React from 'react';
import { useEffect } from 'react';
import { useTranslation } from 'react-i18next'; import { useTranslation } from 'react-i18next';
import { UseQueryResult } from 'react-query'; import { UseQueryResult } from 'react-query';
@ -117,7 +116,7 @@ export function QueryMenu<T>(props: QueryMenuProps<T>) {
'aria-labelledby': `${id}-button`, 'aria-labelledby': `${id}-button`,
}} }}
> >
{data.map((it, idx) => <MenuItem key={idx} onClick={() => selectItem(it)}>{getLabel(it)}</MenuItem>)} {data.map((it, idx) => <MenuItem key={it} onClick={() => selectItem(it)}>{getLabel(it)}</MenuItem>)}
</Menu> </Menu>
</Box>; </Box>;
} }