dify/web/app/(commonLayout)/explore/layout.tsx
Stephen Zhou 8389f82d49
Revert "save res"
This reverts commit 2585c8a26b.
2025-12-25 19:23:51 +08:00

19 lines
515 B
TypeScript

'use client'
import type { FC, PropsWithChildren } from 'react'
import * as React from 'react'
import { useTranslation } from 'react-i18next'
import ExploreClient from '@/app/components/explore'
import useDocumentTitle from '@/hooks/use-document-title'
const ExploreLayout: FC<PropsWithChildren> = ({ children }) => {
const { t } = useTranslation()
useDocumentTitle(t('common.menus.explore'))
return (
<ExploreClient>
{children}
</ExploreClient>
)
}
export default React.memo(ExploreLayout)