2022-03-18 15:09:13 +00:00
|
|
|
import { FC } from "react";
|
|
|
|
import { LiveChatLoaderProvider } from "react-live-chat-loader";
|
|
|
|
|
2022-05-17 19:31:49 +00:00
|
|
|
const Provider: FC<{ children: React.ReactNode }> = ({ children }) => (
|
2022-03-18 15:09:13 +00:00
|
|
|
<LiveChatLoaderProvider providerKey={process.env.NEXT_PUBLIC_HELPSCOUT_KEY!} provider="helpScout">
|
|
|
|
<>{children}</>
|
|
|
|
</LiveChatLoaderProvider>
|
|
|
|
);
|
|
|
|
|
|
|
|
export default Provider;
|