diff --git a/frontend/src/pages/_document.tsx b/frontend/src/pages/_document.tsx index a7bf82c5c..8bbebe338 100644 --- a/frontend/src/pages/_document.tsx +++ b/frontend/src/pages/_document.tsx @@ -56,7 +56,9 @@ const MyDocument: React.FC = () => { --color-events: ${events}; } `} - {style !== undefined && '), + ``, + ); + } else { + // Or add it + file = `${file}`.replace( + '', + ``, + ); + } + } else { + if (file.includes(''), + '', + ); + } + } + // Replace colors colorsAsString.forEach(item => { const [key, value] = item.split(': ');