Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
fix(js): do not fire dangerouslySetInnerHTML if there is nothing to render. Closes #4075 (#4076)
Gabe Kangase38ed9ff46b1
diff --git a/web/components/theme/Theme.tsx b/web/components/theme/Theme.tsxindex 70ab0013aa..31fb291abd 100644--- a/web/components/theme/Theme.tsx+++ b/web/components/theme/Theme.tsx@@ -27,22 +27,26 @@ export const Theme: FC = () => {<Head><meta name="theme-color" content={themeColor} /></Head>- <style- dangerouslySetInnerHTML={{- __html: `+ {(appearanceVariables?.keys?.length || 0) > 0 && (+ <style+ dangerouslySetInnerHTML={{+ __html: `:root {${appearanceVars.join(';\n')}}`,- }}- />- <style- dangerouslySetInnerHTML={{- __html: `+ }}+ />+ )}+ {customStyles !== '' && (+ <style+ dangerouslySetInnerHTML={{+ __html: `${customStyles}`,- }}- />+ }}+ />+ )}</>);};diff --git a/web/package.json b/web/package.jsonindex 2b984d43db..5678d8bf20 100644--- a/web/package.json+++ b/web/package.json@@ -145,4 +145,4 @@"emoji-mart": "5.2.2"}}-}\ No newline at end of file+}