Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

736 B
Raw Blame
import { AccountLinkProvider } from "@editor/portal/contexts/AccountLinkContext";
import { AccountLinkSessionBoundary } from "@editor/portal/components/account-link/AccountLinkSessionBoundary";
import { ConnectCallbackHost } from "@editor/portal/components/account-link/ConnectCallbackHost";
import { LinkAccountModalHost } from "@editor/portal/components/account-link/LinkAccountModal";

/** Handles an explicit roster sign-in request or its return from cloud authentication. */
export default function PortalRosterLinkFlow() {
  return (
    <AccountLinkSessionBoundary>
      <AccountLinkProvider>
        <LinkAccountModalHost />
        <ConnectCallbackHost />
      </AccountLinkProvider>
    </AccountLinkSessionBoundary>
  );
}