dify/web/app/(commonLayout)/integrations/layout.tsx
Stephen Zhou b9fde89781
refactor(web): migrate i18n to selector optimize mode (#38657)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-10 09:35:31 +00:00

13 lines
371 B
TypeScript

'use client'
import type { PropsWithChildren } from 'react'
import { useTranslation } from 'react-i18next'
import useDocumentTitle from '@/hooks/use-document-title'
export default function IntegrationsLayout({ children }: PropsWithChildren) {
const { t } = useTranslation()
useDocumentTitle(t($ => $['mainNav.integrations'], { ns: 'common' }))
return children
}