Fix: Forward props for StatusPage wrapper (#40641)

This commit is contained in:
Echo
2026-09-21 17:48:36 +00:00
committed by GitHub
parent b4d0f69a80
commit e1b88b48ef

View File

@@ -8,9 +8,13 @@ const LazyStatusRedesign = lazy(() =>
);
const LazyStatusLegacy = lazy(() => import('./legacy'));
const StatusPage = () => (
const StatusPage = (props: Record<string, unknown>) => (
<Suspense fallback={<LoadingIndicator />}>
{isRedesignStatusEnabled() ? <LazyStatusRedesign /> : <LazyStatusLegacy />}
{isRedesignStatusEnabled() ? (
<LazyStatusRedesign />
) : (
<LazyStatusLegacy {...props} />
)}
</Suspense>
);