Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

343 B
Raw Blame
import { useGlobalStore } from '@/store/global';
import { artboardTabKey } from '@/store/global/initialState';

import { isArtboardEnabled } from '../useArtboardFeature';

export const openBoardPanel = (artboardId: string) => {
  if (!isArtboardEnabled()) return;
  useGlobalStore.getState().openWorkingSidebar(artboardTabKey(artboardId));
};