diff --git a/web/app/components/main-nav/index.tsx b/web/app/components/main-nav/index.tsx index fdace1f838f..453f0790e13 100644 --- a/web/app/components/main-nav/index.tsx +++ b/web/app/components/main-nav/index.tsx @@ -14,6 +14,7 @@ import DatasetDetailTop from '@/app/components/app-sidebar/dataset-detail-top' import { useStore as useAppStore } from '@/app/components/app/store' import DifyLogo from '@/app/components/base/logo/dify-logo' import EnvNav from '@/app/components/header/env-nav' +import { SnippetCollapsedPreview } from '@/app/components/snippets/components/snippet-collapsed-preview' import { SnippetSidebarContent } from '@/app/components/snippets/components/snippet-sidebar' import { useSnippetDraftStore } from '@/app/components/snippets/draft-store' import { useSnippetDetailStore } from '@/app/components/snippets/store' @@ -52,41 +53,6 @@ function SecondarySidebarHelpMenu({ ) } -function SnippetCollapsedPreview({ - inputFieldCount, -}: { - inputFieldCount: number -}) { - return ( -