Skip to content

Commit

Permalink
prettier fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MohammedMaaz committed May 13, 2024
1 parent adac09f commit 4579cce
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions agenta-web/src/components/Playground/Views/GroupedSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@ const getTextContent = (element: React.ReactNode): string => {
}

const filterOption = (input: string, option?: {label: React.ReactNode; value: string}) =>
getTextContent(option?.label)
.toLowerCase()
.includes(input.toLowerCase())
getTextContent(option?.label).toLowerCase().includes(input.toLowerCase())

export const ModelName: React.FC<{label: string; key: string}> = ({label, key}) => {
const classes = useStyles()
Expand Down

0 comments on commit 4579cce

Please sign in to comment.