cal.pub0.org/apps/web/ee/lib/intercom/provider.tsx

9 lines
284 B
TypeScript
Raw Normal View History

import { FC } from "react";
import { IntercomProvider } from "react-use-intercom";
const Provider: FC<{ children: React.ReactNode }> = ({ children }) => (
<IntercomProvider appId={process.env.NEXT_PUBLIC_INTERCOM_APP_ID!}>{children}</IntercomProvider>
);
export default Provider;