2021-09-24 20:02:03 +00:00
|
|
|
import { FC } from "react";
|
|
|
|
import { IntercomProvider } from "react-use-intercom";
|
|
|
|
|
2022-05-17 19:31:49 +00:00
|
|
|
const Provider: FC<{ children: React.ReactNode }> = ({ children }) => (
|
2021-09-24 20:02:03 +00:00
|
|
|
<IntercomProvider appId={process.env.NEXT_PUBLIC_INTERCOM_APP_ID!}>{children}</IntercomProvider>
|
|
|
|
);
|
|
|
|
|
|
|
|
export default Provider;
|