feat: add use current user

This commit is contained in:
jialin
2026-05-07 18:26:48 +08:00
committed by jialin
parent a2d5d55518
commit 4be5fb4d3d
3 changed files with 17 additions and 24 deletions
+1 -5
View File
@@ -119,11 +119,7 @@ export const ExtraContent = (props: { isDarkTheme?: boolean }) => {
};
const { initialState } = initialInfo;
const GlobalSettings = pluginManager?.components?.GlobalSettings;
// Plugin slot. A registered plugin can supply an Org switcher via
// components.OrgSwitcher; the host renders nothing when no plugin
// provides it.
const OrgSwitcher = pluginManager?.components?.OrgSwitcher;
const { GlobalSettings, OrgSwitcher } = pluginManager?.components || {};
console.log('plugin+++++++++', pluginManager);
const navigate = useNavigate();