coldbydefault-portfolio
    Preparing search index...

    Function useSiteActions

    • Moves around the site and changes its settings. Shared by the search palette and Reem, who runs these when the chat route acknowledges a site action.

      Returns {
          goToPage: (href: string) => void;
          goToSection: (id: string) => void;
          run: (action: SiteAction) => void;
          setTheme: Dispatch<SetStateAction<string>>;
          switchLocale: (next: string) => void;
      }