chore: lint code to remove unused imports and variables (#9553)

This commit is contained in:
DDDDD12138
2024-10-21 19:04:54 +08:00
committed by GitHub
parent 9b32bfb3db
commit 79fe175440
3 changed files with 2 additions and 8 deletions

View File

@@ -24,7 +24,7 @@ const LanguageSelect: FC<ILanguageSelectProps> = ({
disabled={disabled}
htmlContent={
<div className='w-full py-1'>
{languages.filter(language => language.supported).map(({ prompt_name, name }) => (
{languages.filter(language => language.supported).map(({ prompt_name }) => (
<div
key={prompt_name}
className='py-2 px-3 mx-1 flex items-center gap-2 hover:bg-gray-100 rounded-lg cursor-pointer text-gray-700 text-sm'