refactor(shell): channel page is a PageShell config, not a 2nd scroller

The channel page rendered its own PageScroller as a separate App branch —
the source of the app's two <main>s. Make it a headerless/rail-less
PageShell config (its banner scrolls from the top) so there is exactly
ONE page scroller. Verified: single <main>, banner scrolls, in-page and
browser Back both return to the feed; E2E 11/11.
This commit is contained in:
2026-07-18 03:19:34 +02:00
parent dc6e62e822
commit d81f10b1cf
2 changed files with 6 additions and 3 deletions
+2
View File
@@ -689,6 +689,7 @@ export default function App() {
)}
<div className="relative flex-1 min-w-0 flex flex-col">
{channelView ? (
<PageShell>
<Suspense fallback={pageFallback}>
<ChannelPage
key={channelView.id}
@@ -714,6 +715,7 @@ export default function App() {
}}
/>
</Suspense>
</PageShell>
) : (
<PageShell
header={