mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-13 23:16:47 +00:00
fix/page-search-example
This commit is contained in:
@@ -49,7 +49,7 @@ const Search = props => {
|
||||
type: 'website'
|
||||
}
|
||||
|
||||
props = { ...props, meta, posts: { filteredPosts } }
|
||||
props = { ...props, meta, posts: filteredPosts }
|
||||
|
||||
return <Suspense fallback={<Loading />}>
|
||||
<Layout {...props} />
|
||||
|
||||
@@ -8,7 +8,7 @@ import Mark from 'mark.js'
|
||||
import LayoutBase from './LayoutBase'
|
||||
import { isBrowser } from '@/lib/utils'
|
||||
|
||||
export const LayoutSearch = props => {
|
||||
const LayoutSearch = props => {
|
||||
const { keyword } = props
|
||||
const router = useRouter()
|
||||
|
||||
@@ -52,3 +52,5 @@ export const LayoutSearch = props => {
|
||||
|
||||
</LayoutBase>
|
||||
}
|
||||
|
||||
export default LayoutSearch
|
||||
|
||||
Reference in New Issue
Block a user