mirror of
https://github.com/langgenius/dify.git
synced 2026-04-05 11:25:58 +08:00
refactor: route next/navigation through compat re-export (#33636)
This commit is contained in:
@@ -4,7 +4,6 @@ import type { FileUpload } from '@/app/components/base/features/types'
|
||||
import type { FileUploadConfigResponse } from '@/models/common'
|
||||
import { noop } from 'es-toolkit/function'
|
||||
import { produce } from 'immer'
|
||||
import { useParams } from 'next/navigation'
|
||||
import {
|
||||
useCallback,
|
||||
useState,
|
||||
@@ -20,6 +19,7 @@ import {
|
||||
} from '@/app/components/base/file-uploader/constants'
|
||||
import { useToastContext } from '@/app/components/base/toast/context'
|
||||
import { SupportUploadFileTypes } from '@/app/components/workflow/types'
|
||||
import { useParams } from '@/next/navigation'
|
||||
import { uploadRemoteFileInfo } from '@/service/common'
|
||||
import { TransferMethod } from '@/types/app'
|
||||
import { formatFileSize } from '@/utils/format'
|
||||
|
||||
Reference in New Issue
Block a user