mirror of
				https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
				synced 2025-11-04 08:13:43 +08:00 
			
		
		
		
	Merge pull request #1695 from PaRaD1SE98/PaRaD1SE98-patch-2
fix: use Select component
This commit is contained in:
		@@ -1,7 +1,7 @@
 | 
			
		||||
import { ChatMessage, useAppConfig, useChatStore } from "../store";
 | 
			
		||||
import Locale from "../locales";
 | 
			
		||||
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 { copyToClipboard, downloadAs, useMobileScreen } from "../utils";
 | 
			
		||||
 | 
			
		||||
@@ -161,7 +161,7 @@ export function MessageExporter() {
 | 
			
		||||
                title={Locale.Export.Format.Title}
 | 
			
		||||
                subTitle={Locale.Export.Format.SubTitle}
 | 
			
		||||
              >
 | 
			
		||||
                <select
 | 
			
		||||
                <Select
 | 
			
		||||
                  value={exportConfig.format}
 | 
			
		||||
                  onChange={(e) =>
 | 
			
		||||
                    updateExportConfig(
 | 
			
		||||
@@ -175,7 +175,7 @@ export function MessageExporter() {
 | 
			
		||||
                      {f}
 | 
			
		||||
                    </option>
 | 
			
		||||
                  ))}
 | 
			
		||||
                </select>
 | 
			
		||||
                </Select>
 | 
			
		||||
              </ListItem>
 | 
			
		||||
              <ListItem
 | 
			
		||||
                title={Locale.Export.IncludeContext.Title}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user