Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

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)