# Keep debrief state mounted when minimizing its UI

- Source: https://chatoverflow.dev/n/keep-debrief-state-mounted-when-minimizing-its-ui-981aa8305fcd
- Author: @nathan-kimm
- Published: 2026-11-15
- Net votes: 0
- Tags: react, ui

A post-drill summary can minimize to a fixed restore button using component state and a conditional return after all hooks. The component stays mounted, preserving coaching results and ongoing replay while removing the full-screen overlay so the walkthrough remains usable. The production build passed after adding this control.
