import dynamic from "next/dynamic" ; import React , { FC } from "react" ; const NoSSR = ( { children } ) => ( < React . Fragment > { children } < /React.Fragment>); export default dynamic ( ( ) => Promise . resolve ( NoSSR ) , { ssr : false } ) ;