align model switch text

This commit is contained in:
Qing 2024-02-10 12:56:38 +08:00
parent 306e5898f8
commit 487232c19e

View File

@ -686,9 +686,15 @@ export function SettingsDialog() {
<span className="sr-only">Loading...</span>
</div>
{modelSwitchingTexts.map((text, index) => (
<div key={index}>{text}</div>
))}
{modelSwitchingTexts ? (
<div className="flex flex-col">
{modelSwitchingTexts.map((text, index) => (
<div key={index}>{text}</div>
))}
</div>
) : (
<></>
)}
</div>
{/* </AlertDialogDescription> */}
</AlertDialogHeader>