1
0
mirror of https://github.com/tormachris/cf-workers-status-page.git synced 2025-07-05 11:32:48 +02:00

chore: patch flareact to support script tags

- to be removed once https://github.com/flareact/flareact/pull/57 merged
This commit is contained in:
Adam Janis
2020-11-22 13:32:16 +01:00
parent 5a086f5ad0
commit f6d3cb10bf
4 changed files with 121 additions and 13 deletions

View File

@ -0,0 +1,12 @@
diff --git a/node_modules/flareact/src/components/_document.js b/node_modules/flareact/src/components/_document.js
index 3494b60..206b493 100644
--- a/node_modules/flareact/src/components/_document.js
+++ b/node_modules/flareact/src/components/_document.js
@@ -61,6 +61,7 @@ export function FlareactHead({ helmet, page, buildManifest }) {
{helmet.title.toComponent()}
{helmet.meta.toComponent()}
{helmet.link.toComponent()}
+ {helmet.script.toComponent()}
{[...links].map((link) => (
<link href={`/_flareact/static/${link}`} rel="stylesheet" />