mirror of
https://github.com/mastodon/mastodon.git
synced 2026-09-27 17:38:30 -05:00
Fix: Forward props for StatusPage wrapper (#40641)
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user