# Conflicts: # .agents/skills/frontend-code-review/SKILL.md # .agents/skills/frontend-code-review/references/business-logic.md # .agents/skills/frontend-code-review/references/code-quality.md # .agents/skills/frontend-code-review/references/performance.md # api/controllers/console/explore/recommended_app.py # eslint-suppressions.json # packages/contracts/generated/api/console/workspaces/orpc.gen.ts # packages/iconify-collections/custom-vender/info.json # web/__tests__/apps/app-list-browsing-flow.test.tsx # web/app/(commonLayout)/role-route-guard.tsx # web/app/components/app-sidebar/nav-link/index.tsx # web/app/components/apps/__tests__/empty.spec.tsx # web/app/components/apps/__tests__/list.spec.tsx # web/app/components/apps/empty.tsx # web/app/components/apps/list.tsx # web/app/components/base/search-input/__tests__/index.spec.tsx # web/app/components/base/search-input/index.tsx # web/app/components/header/account-setting/index.tsx # web/app/components/header/header-wrapper.tsx # web/app/components/plugins/marketplace/search-box/index.tsx # web/app/components/tools/mcp/modal.tsx # web/features/tag-management/components/tag-filter.tsx # web/i18n/en-US/workflow.json # web/i18n/zh-Hans/workflow.json
16 lines
396 B
TypeScript
16 lines
396 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)
|