mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-27 06:13:06 +00:00
Wrap the estimate-scenario provider outside both flag paths, type empty as nullable, and drop the duplicated fail-closed unit assertion. Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
21 lines
625 B
TypeScript
21 lines
625 B
TypeScript
import type { ReactNode } from 'react'
|
|
|
|
import { OpsListView, type OpsListViewProps } from '@/components/campaign/shared/OpsListView'
|
|
|
|
export type OpsListPageProps = OpsListViewProps
|
|
|
|
/**
|
|
* CL3 — casca server da factory de listas unificadas.
|
|
*
|
|
* Reencaminha slots para `OpsListView`. Nome estável para as pages/CL8 pins;
|
|
* lógica de offline (OH12) vive na rota (`OfflineBoundary`), não aqui.
|
|
*/
|
|
export const OpsListPage = ({
|
|
overview,
|
|
toolbar,
|
|
table,
|
|
empty,
|
|
footer,
|
|
}: OpsListPageProps): ReactNode => (
|
|
<OpsListView overview={overview} toolbar={toolbar} table={table} empty={empty} footer={footer} />
|
|
)
|