forked from XiaoMo/ChatGPT-Next-Web
fix: use Select component
This commit is contained in:
parent
4e1e1d4fef
commit
99317f759b
@ -1,7 +1,7 @@
|
|||||||
import { ChatMessage, useAppConfig, useChatStore } from "../store";
|
import { ChatMessage, useAppConfig, useChatStore } from "../store";
|
||||||
import Locale from "../locales";
|
import Locale from "../locales";
|
||||||
import styles from "./exporter.module.scss";
|
import styles from "./exporter.module.scss";
|
||||||
import { List, ListItem, Modal, showToast } from "./ui-lib";
|
import { List, ListItem, Modal, Select, showToast } from "./ui-lib";
|
||||||
import { IconButton } from "./button";
|
import { IconButton } from "./button";
|
||||||
import { copyToClipboard, downloadAs, useMobileScreen } from "../utils";
|
import { copyToClipboard, downloadAs, useMobileScreen } from "../utils";
|
||||||
|
|
||||||
@ -161,7 +161,7 @@ export function MessageExporter() {
|
|||||||
title={Locale.Export.Format.Title}
|
title={Locale.Export.Format.Title}
|
||||||
subTitle={Locale.Export.Format.SubTitle}
|
subTitle={Locale.Export.Format.SubTitle}
|
||||||
>
|
>
|
||||||
<select
|
<Select
|
||||||
value={exportConfig.format}
|
value={exportConfig.format}
|
||||||
onChange={(e) =>
|
onChange={(e) =>
|
||||||
updateExportConfig(
|
updateExportConfig(
|
||||||
@ -175,7 +175,7 @@ export function MessageExporter() {
|
|||||||
{f}
|
{f}
|
||||||
</option>
|
</option>
|
||||||
))}
|
))}
|
||||||
</select>
|
</Select>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
<ListItem
|
<ListItem
|
||||||
title={Locale.Export.IncludeContext.Title}
|
title={Locale.Export.IncludeContext.Title}
|
||||||
|
Loading…
Reference in New Issue
Block a user