mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 07:46:31 +08:00
i18n
This commit is contained in:
parent
7c2ab21c9c
commit
319a54aa2f
@ -2,7 +2,6 @@ import {
|
|||||||
useCallback,
|
useCallback,
|
||||||
useState,
|
useState,
|
||||||
} from 'react'
|
} from 'react'
|
||||||
import i18n from 'i18next'
|
|
||||||
import { useTranslation } from 'react-i18next'
|
import { useTranslation } from 'react-i18next'
|
||||||
import { useDebounceFn } from 'ahooks'
|
import { useDebounceFn } from 'ahooks'
|
||||||
import type { Plugin } from '../types'
|
import type { Plugin } from '../types'
|
||||||
@ -15,6 +14,7 @@ import {
|
|||||||
getMarketplaceCollectionsAndPlugins,
|
getMarketplaceCollectionsAndPlugins,
|
||||||
getMarketplacePlugins,
|
getMarketplacePlugins,
|
||||||
} from './utils'
|
} from './utils'
|
||||||
|
import i18n from '@/i18n/i18next-config'
|
||||||
|
|
||||||
export const useMarketplaceCollectionsAndPlugins = () => {
|
export const useMarketplaceCollectionsAndPlugins = () => {
|
||||||
const [isLoading, setIsLoading] = useState(false)
|
const [isLoading, setIsLoading] = useState(false)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user