cal.pub0.org/packages/features/ee/support/lib/helpscout/providerDynamic.tsx

9 lines
238 B
TypeScript

import dynamic from "next/dynamic";
import { Fragment } from "react";
const DynamicHelpscoutProvider = process.env.NEXT_PUBLIC_HELPSCOUT_KEY
? dynamic(() => import("./provider"))
: Fragment;
export default DynamicHelpscoutProvider;