mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-04-07 19:38:19 +02:00
prevent accidental submission (#2318)
This commit is contained in:
parent
32359d2dff
commit
f96bd12ab8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user