fix(web): declare translation namespace dependencies (#42784)

This commit is contained in:
Stephen Zhou authored and GitHub committed 2026-09-23 04:43:00 +00:00
1 parent 232f29c355
commit 5f899e428a
1671 files changed
+2509 -2031

No files matched your search

@@ -48,7 +48,7 @@ const EmbeddingProcess = ({
indexingType,
retrievalMethod,
}: EmbeddingProcessProps) => {
const { t } = useTranslation()
const { t } = useTranslation(['billing', 'datasetCreation', 'datasetDocuments'])
const deploymentEdition = useAtomValue(deploymentEditionAtom)
const { data: plan } = useQuery(
consoleQuery.features.get.queryOptions({
@@ -15,7 +15,12 @@ type RuleDetailProps = {
}
const RuleDetail = ({ sourceData, indexingType, retrievalMethod }: RuleDetailProps) => {
const { t } = useTranslation()
const { t } = useTranslation([
'dataset',
'datasetCreation',
'datasetDocuments',
'datasetSettings',
])
const getValue = useCallback(
(field: string) => {