您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

layout.tsx 510B

123456789101112131415161718
  1. 'use client'
  2. import type { FC, PropsWithChildren } from 'react'
  3. import React from 'react'
  4. import { useTranslation } from 'react-i18next'
  5. import ExploreClient from '@/app/components/explore'
  6. import useDocumentTitle from '@/hooks/use-document-title'
  7. const ExploreLayout: FC<PropsWithChildren> = ({ children }) => {
  8. const { t } = useTranslation()
  9. useDocumentTitle(t('common.menus.explore'))
  10. return (
  11. <ExploreClient>
  12. {children}
  13. </ExploreClient>
  14. )
  15. }
  16. export default React.memo(ExploreLayout)