diff --git a/webapp/src/App.tsx b/webapp/src/App.tsx index 7eb481f67..64634d874 100644 --- a/webapp/src/App.tsx +++ b/webapp/src/App.tsx @@ -57,6 +57,7 @@ const App = ({registry, store}:{registry: PluginRegistry, store: Store { const {presentInWhitelist} = whitelistUserData as WhitelistUserResponse; + // Register the channel header button and app bar if the user is a whitelist user if (presentInWhitelist) { const {_, toggleRHSPlugin} = registry.registerRightHandSidebarComponent(Rhs, );