mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 04:48:53 +00:00
feat(core): move help island to workbench (#6535)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { HubIsland } from '@affine/core/components/affine/hub-island';
|
||||
import { useLiveData, useService } from '@toeverything/infra';
|
||||
import { useCallback, useEffect, useRef } from 'react';
|
||||
import { useLocation } from 'react-router-dom';
|
||||
@@ -43,12 +44,16 @@ export const WorkbenchRoot = () => {
|
||||
}, [basename, workbench.basename$]);
|
||||
|
||||
return (
|
||||
<SplitView
|
||||
className={styles.workbenchRootContainer}
|
||||
views={views}
|
||||
renderer={panelRenderer}
|
||||
onMove={onMove}
|
||||
/>
|
||||
<>
|
||||
<HubIsland />
|
||||
|
||||
<SplitView
|
||||
className={styles.workbenchRootContainer}
|
||||
views={views}
|
||||
renderer={panelRenderer}
|
||||
onMove={onMove}
|
||||
/>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user