mirror of
https://github.com/lobehub/lobehub.git
synced 2026-03-27 13:29:15 +07:00
♻️ refactor: remove the old lobehub plugins (#11498)
feat: unuse old lobehub plugins
This commit is contained in:
@@ -10,7 +10,6 @@ import { PluginStoreTabs } from '@/store/tool/slices/oldStore';
|
||||
import AddPluginButton from './AddPluginButton';
|
||||
import InstalledList from './InstalledList';
|
||||
import McpList from './McpList';
|
||||
import PluginList from './PluginList';
|
||||
import Search from './Search';
|
||||
|
||||
export const Content = memo(() => {
|
||||
@@ -21,9 +20,8 @@ export const Content = memo(() => {
|
||||
|
||||
const options = [
|
||||
{ label: t('store.tabs.mcp'), value: PluginStoreTabs.MCP },
|
||||
{ label: t('store.tabs.old'), value: PluginStoreTabs.Plugin },
|
||||
{ label: t('store.tabs.installed'), value: PluginStoreTabs.Installed },
|
||||
].filter(Boolean) as SegmentedOptions;
|
||||
] as SegmentedOptions;
|
||||
|
||||
return (
|
||||
<Flexbox
|
||||
@@ -48,7 +46,6 @@ export const Content = memo(() => {
|
||||
<Search />
|
||||
</Flexbox>
|
||||
{listType === PluginStoreTabs.MCP && <McpList />}
|
||||
{listType === PluginStoreTabs.Plugin && <PluginList />}
|
||||
{listType === PluginStoreTabs.Installed && <InstalledList keywords={keywords} />}
|
||||
</Flexbox>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user