mirror of https://github.com/langgenius/dify.git
refactor: remove devtools barrel files and update direct import paths for devtool loaders
This commit is contained in:
parent
bb5a654f8d
commit
b9cfef854a
|
|
@ -1,2 +0,0 @@
|
||||||
export * from './react-scan'
|
|
||||||
export * from './tanstack'
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
export { ReactScanLoader } from './loader'
|
|
||||||
export { ReactScan } from './scan'
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
export { TanStackDevtoolsWrapper } from './devtools'
|
|
||||||
export { TanStackDevtoolsLoader } from './loader'
|
|
||||||
|
|
@ -8,7 +8,7 @@ import { getLocaleOnServer } from '@/i18n-config/server'
|
||||||
import { DatasetAttr } from '@/types/feature'
|
import { DatasetAttr } from '@/types/feature'
|
||||||
import { cn } from '@/utils/classnames'
|
import { cn } from '@/utils/classnames'
|
||||||
import BrowserInitializer from './components/browser-initializer'
|
import BrowserInitializer from './components/browser-initializer'
|
||||||
import { ReactScanLoader } from './components/devtools'
|
import { ReactScanLoader } from './components/devtools/react-scan/loader'
|
||||||
import I18nServer from './components/i18n-server'
|
import I18nServer from './components/i18n-server'
|
||||||
import SentryInitializer from './components/sentry-initializer'
|
import SentryInitializer from './components/sentry-initializer'
|
||||||
import RoutePrefixHandle from './routePrefixHandle'
|
import RoutePrefixHandle from './routePrefixHandle'
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
import type { FC, PropsWithChildren } from 'react'
|
import type { FC, PropsWithChildren } from 'react'
|
||||||
import { QueryClient, QueryClientProvider } from '@tanstack/react-query'
|
import { QueryClient, QueryClientProvider } from '@tanstack/react-query'
|
||||||
import { TanStackDevtoolsLoader } from '@/app/components/devtools'
|
import { TanStackDevtoolsLoader } from '@/app/components/devtools/tanstack/loader'
|
||||||
|
|
||||||
const STALE_TIME = 1000 * 60 * 30 // 30 minutes
|
const STALE_TIME = 1000 * 60 * 30 // 30 minutes
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue