Created
July 25, 2022 17:34
-
-
Save Phineas/c8fb9b94923566319f46cdee25c8fa15 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import dynamic from "next/dynamic"; | |
import { ReactNode } from "react"; | |
const NoSsrComponent = (props: { children: ReactNode }) => ( | |
<>{props.children}</> | |
); | |
export default dynamic(async () => NoSsrComponent, { | |
ssr: false, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment