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.

452 B
Raw Blame
import { createContext, useContext } from 'solid-js';
import type { createMeetingSessionOwner } from '../primitives/meeting-session-owner';

export const MeetingSessionOwnerContext =
  createContext<ReturnType<typeof createMeetingSessionOwner>>();

export function useMeetingSessionOwner() {
  const owner = useContext(MeetingSessionOwnerContext);
  if (!owner)
    throw new Error('Meeting sessions require MeetingSessionProvider');
  return owner;
}