Skip to content

Commit f5cead5

Browse files
committed
Remove redundant type annotation
1 parent 5d8084a commit f5cead5

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

app/src/components/generative/ToolChoiceSelector.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import type { JSX } from "react";
2-
31
import {
42
Button,
53
Flex,
@@ -158,11 +156,7 @@ const removeToolNamePrefix = (toolName: string) =>
158156
*
159157
* @returns A label for the tool choice
160158
*/
161-
export const ChoiceLabel = ({
162-
choiceType,
163-
}: {
164-
choiceType: string;
165-
}): JSX.Element => {
159+
export const ChoiceLabel = ({ choiceType }: { choiceType: string }) => {
166160
switch (choiceType) {
167161
case "any":
168162
case "required":

0 commit comments

Comments
 (0)