fix: restore dashboard app shell#160
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2067b2fc0b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| <ErrorBoundary>{children}</ErrorBoundary> | ||
| </div> | ||
| <> | ||
| <Header /> |
There was a problem hiding this comment.
Avoid rendering duplicate headers on Layout pages
On routes covered by this dashboard layout that already render components/layouts/Layout (for example /content-adaptation, /automation, /campaigns, and /series), that component renders its own ScrollingHeader at components/layouts/Layout.tsx:51. Adding Header here means those authenticated pages now show two sticky navigation bars, duplicating the app chrome and reducing usable viewport; either only render this header for pages without the shared Layout wrapper or remove the nested page-level header layout there.
Useful? React with 👍 / 👎.
Summary
Validation