The overlay's effect body: starts the teardown when the logout flag is set — including when it was ALREADY set before this overlay mounted (the hydration render reads the server snapshot false, so the live flag is re-checked).
false
the flag as rendered.
Optional
client-side navigation, see runLogoutTeardown.
the teardown promise, or null when not logging out.
The overlay's effect body: starts the teardown when the logout flag is set — including when it was ALREADY set before this overlay mounted (the hydration render reads the server snapshot
false, so the live flag is re-checked).