mirror of
https://github.com/langgenius/dify.git
synced 2026-06-11 19:14:34 +08:00
This commit is contained in:
parent
beec13ed61
commit
be2034f681
@ -5,11 +5,11 @@ import * as React from 'react'
|
||||
import AppIcon from '@/app/components/base/app-icon'
|
||||
import { appDefaultIconBackground } from '@/config'
|
||||
|
||||
type Props = {
|
||||
type Props = Readonly<{
|
||||
data?: SiteInfo
|
||||
isShow: boolean
|
||||
onClose: () => void
|
||||
}
|
||||
}>
|
||||
|
||||
const InfoModal = ({
|
||||
isShow,
|
||||
|
||||
@ -21,11 +21,11 @@ import { usePathname, useRouter } from '@/next/navigation'
|
||||
import { webAppLogout } from '@/service/webapp-auth'
|
||||
import InfoModal from './info-modal'
|
||||
|
||||
type Props = {
|
||||
type Props = Readonly<{
|
||||
data?: SiteInfo
|
||||
placement?: Placement
|
||||
hideLogout?: boolean
|
||||
}
|
||||
}>
|
||||
|
||||
const MenuDropdown: FC<Props> = ({
|
||||
data,
|
||||
|
||||
@ -9,9 +9,9 @@ import {
|
||||
} from 'react-papaparse'
|
||||
import { Csv as CSVIcon } from '@/app/components/base/icons/src/public/files'
|
||||
|
||||
type Props = {
|
||||
type Props = Readonly<{
|
||||
onParsed: (data: string[][]) => void
|
||||
}
|
||||
}>
|
||||
|
||||
const CSVReader: FC<Props> = ({
|
||||
onParsed,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user