fix: linter error

This commit is contained in:
Junyan Qin
2025-07-18 17:52:24 +08:00
parent 4e6782a6b7
commit c98d265a1e
8 changed files with 6 additions and 36 deletions
@@ -64,13 +64,11 @@ const getFormSchema = (t: (key: string) => string) =>
export default function BotForm({
initBotId,
onFormSubmit,
onFormCancel,
onBotDeleted,
onNewBotCreated,
}: {
initBotId?: string;
onFormSubmit: (value: z.infer<ReturnType<typeof getFormSchema>>) => void;
onFormCancel: () => void;
onBotDeleted: () => void;
onNewBotCreated: (botId: string) => void;
}) {