mirror of
https://github.com/langgenius/dify.git
synced 2026-09-24 23:22:26 +08:00
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
16 lines
406 B
TypeScript
16 lines
406 B
TypeScript
import * as React from 'react'
|
|
import { useTranslation } from 'react-i18next'
|
|
import FilterEmptyState from '@/app/components/base/filter-empty-state'
|
|
|
|
type EmptyProps = {
|
|
message?: string
|
|
}
|
|
|
|
const Empty = ({ message }: EmptyProps) => {
|
|
const { t } = useTranslation()
|
|
|
|
return <FilterEmptyState title={message ?? t(($) => $['filterEmpty.noApps'], { ns: 'app' })} />
|
|
}
|
|
|
|
export default React.memo(Empty)
|