prevent accidental submission (#2318)

This commit is contained in:
pablodanswer 2024-09-03 16:44:54 -07:00 committed by GitHub
parent 32359d2dff
commit f96bd12ab8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -55,6 +55,7 @@ export const LlmList: React.FC<LlmListProps> = ({
>
{userDefault && (
<button
type="button"
key={-1}
className={`w-full py-1.5 px-2 text-sm ${
currentLlm == null
@ -68,6 +69,7 @@ export const LlmList: React.FC<LlmListProps> = ({
)}
{llmOptions.map(({ name, value }, index) => (
<button
type="button"
key={index}
className={`w-full py-1.5 px-2 text-sm ${
currentLlm == name