2023-01-20 16:08:35 +00:00
|
|
|
import dynamic from "next/dynamic";
|
2023-01-29 19:26:41 +00:00
|
|
|
import React, { PropsWithChildren } from "react";
|
2023-01-20 16:08:35 +00:00
|
|
|
|
|
|
|
const Wrapper = (props: PropsWithChildren<{}>) => <React.Fragment>{props.children}</React.Fragment>;
|
|
|
|
|
|
|
|
export const NoSSRWrapper = dynamic(() => Promise.resolve(Wrapper), {
|
|
|
|
ssr: false,
|
|
|
|
});
|