2022-10-23 01:51:05 +02:00
|
|
|
/* eslint-disable react/no-danger */
|
2022-10-09 00:33:23 +02:00
|
|
|
import { FC } from 'react';
|
|
|
|
|
2022-10-23 01:51:05 +02:00
|
|
|
export const ServerRenderedHydration: FC = () => (
|
|
|
|
<script
|
|
|
|
id="server-side-hydration"
|
|
|
|
dangerouslySetInnerHTML={{
|
|
|
|
__html: `
|
|
|
|
window.configHydration = {{.ServerConfigJSON}};
|
|
|
|
window.statusHydration = {{.StatusJSON}};
|
|
|
|
`,
|
|
|
|
}}
|
|
|
|
/>
|
2022-10-09 00:33:23 +02:00
|
|
|
);
|