fix(core): optimize request chat cards fn (#7331)

This commit is contained in:
Fangdun Tsai
2024-06-26 23:50:45 +08:00
committed by GitHub
parent dcf766f0ee
commit a5662e3de2
4 changed files with 17 additions and 24 deletions
@@ -1,4 +1,4 @@
export type { SidebarTabName } from './multi-tabs/sidebar-tab';
export { sidebarTabs } from './multi-tabs/sidebar-tabs';
export { sidebarTabs, type TabOnLoadFn } from './multi-tabs/sidebar-tabs';
export { MultiTabSidebarBody } from './view/body';
export { MultiTabSidebarHeaderSwitcher } from './view/header-switcher';
@@ -4,6 +4,8 @@ import { framePanelTab } from './tabs/frame';
import { journalTab } from './tabs/journal';
import { outlineTab } from './tabs/outline';
export type TabOnLoadFn = (component: HTMLElement) => void;
// the list of all possible tabs in affine.
// order matters (determines the order of the tabs)
export const sidebarTabs: SidebarTab[] = [