Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

513 B
Raw Blame
import { AppProviders } from '@components/app/AppProviders';
import { ItemDndProvider } from '@components/app/ItemDragAndDrop';
import type { JSX } from 'solid-js';

/**
 * A meeting page renders without the app's providers, and a channel call's
 * panel is the channel itself. Mounted only when such a call's panel opens.
 */
export function MeetingChannelHost(props: { children: JSX.Element }) {
  return (
    <AppProviders>
      <ItemDndProvider>{props.children}</ItemDndProvider>
    </AppProviders>
  );
}