Skip to content

The open alternative to Salesforce, designed for AI.

407 B
Raw Blame
let preloadScheduled = false;

const preload = () => {
  void import('@/navigation-menu-item/display/dnd/providers/NavigationMenuItemDndKitProvider');
  void import('@/navigation-menu-item/display/sections/workspace/components/WorkspaceSectionListDndKit');
};

export const preloadNavigationMenuItemDndKit = (): void => {
  if (preloadScheduled) {
    return;
  }
  preloadScheduled = true;
  preload();
};