958d472582
The component had a Dispose() method that detached ThemeState/LocaleState event handlers, but it was never invoked because the @implements directive was missing. Each navigation through the layout leaked two subscriptions on the singleton state objects. Other state subscribers (NavBody.razor, AnomalyFeed.razor) already declare the directive correctly.