mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-08 20:32:46 +08:00
migrate the search button to plugins discovery
This commit is contained in:
@@ -12,7 +12,6 @@ import DeleteIcon from "../icons/delete.svg";
|
||||
import MaskIcon from "../icons/mask.svg";
|
||||
import DragIcon from "../icons/drag.svg";
|
||||
import DiscoveryIcon from "../icons/discovery.svg";
|
||||
import SearchIcon from "../icons/zoom.svg";
|
||||
import Locale from "../locales";
|
||||
|
||||
import { useAppConfig, useChatStore } from "../store";
|
||||
@@ -250,14 +249,6 @@ export function SideBar(props: { className?: string }) {
|
||||
onClick={() => setShowPluginSelector(true)}
|
||||
shadow
|
||||
/>
|
||||
<IconButton
|
||||
icon={<SearchIcon />}
|
||||
className={styles["sidebar-bar-button"]}
|
||||
onClick={() =>
|
||||
navigate(Path.SearchChat, { state: { fromHome: true } })
|
||||
}
|
||||
shadow
|
||||
/>
|
||||
</div>
|
||||
{showPluginSelector && (
|
||||
<Selector
|
||||
|
Reference in New Issue
Block a user