Shut it down! - #1375
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f48d616c68
ℹ️ 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".
| import TipJar, { useTipJarStore } from './screens/TipJar'; | ||
|
|
||
| const IS_SHUTDOWN = false; | ||
| const IS_SHUTDOWN = true; |
There was a problem hiding this comment.
Avoid mounting the map behind shutdown
With this flag enabled, /map still renders the normal route tree underneath the shutdown modal: App continues to mount MapPane, whose MapLibreMap.componentDidMount calls getStyle() and creates the MapLibre map, fetching maptiles.1940s.nyc resources before the user can interact. If the intent is to archive/shut down the site rather than just cover it visually, this still incurs the map/data traffic and leaves other content paths mounted behind the overlay; gate the main content route or skip rendering the map/stories/outtakes while shutdown is active.
Useful? React with 👍 / 👎.
No description provided.