diff --git a/.github/workflows/preview-service.yml b/.github/workflows/preview-service.yml index e8a758a..c66d9b6 100644 --- a/.github/workflows/preview-service.yml +++ b/.github/workflows/preview-service.yml @@ -6,6 +6,7 @@ on: - main - hotfix - chunk + - search jobs: deploy: diff --git a/packages/web/src/pages/(layout)/_layout.tsx b/packages/web/src/pages/(layout)/_layout.tsx index 30ed7db..cd2da95 100644 --- a/packages/web/src/pages/(layout)/_layout.tsx +++ b/packages/web/src/pages/(layout)/_layout.tsx @@ -24,7 +24,7 @@ function Layout() {
- +
diff --git a/packages/web/src/pages/(layout)/folder.[slug].tsx b/packages/web/src/pages/(layout)/folder.[slug].tsx index 5a2debb..d1d479a 100644 --- a/packages/web/src/pages/(layout)/folder.[slug].tsx +++ b/packages/web/src/pages/(layout)/folder.[slug].tsx @@ -16,6 +16,7 @@ import EmptyWrapper from '~/components/empty-wrapper' import ListView from '~/components/list-view' import AppContext from '~/store/app' import LoadingMore from '~/components/loading-more' +import Header from '~/components/header' function FolderPage() { const { slug } = useParams('/folder/:slug') @@ -64,12 +65,14 @@ function FolderPage() { } const { view } = useContext(AppContext) + const { setKeyword, handleSearch } = useOutletContext<{ keyword: string, setKeyword: (keyword: string) => void, handleSearch: () => void }>() if (isNil(slug)) return return (
+