diff --git a/web/pages/components/statistic.tsx b/web/pages/components/statistic.tsx index a2fc48ceb..45cca053e 100644 --- a/web/pages/components/statistic.tsx +++ b/web/pages/components/statistic.tsx @@ -6,7 +6,7 @@ interface ItemProps { value: string, prefix: JSX.Element, color: string, - progress: boolean, + progress?: boolean, }; export default function StatisticItem(props: ItemProps) { @@ -41,8 +41,8 @@ function ProgressView({title, value, prefix, color}) { ) } -function StatisticView({title, value, prefix}) { - const valueStyle = { color: "#334", fontSize: "1.8rem" }; +function StatisticView({title, value, prefix, color}) { + const valueStyle = { fontSize: "1.8rem" }; return ( ); @@ -147,16 +149,19 @@ export default function Stats() { )}`} value={formatDistanceToNow(new Date(broadcaster.time))} prefix={} + color="#334" /> } + color="#334" /> } + color="#334" /> @@ -165,16 +170,19 @@ export default function Stats() { title="Input" value={formatIPAddress(remoteAddr)} prefix={null} + color="#334" /> @@ -185,11 +193,13 @@ export default function Stats() { title="Stream key" value={config.streamKey} prefix={null} + color="#334" /> diff --git a/web/pages/viewer-info.tsx b/web/pages/viewer-info.tsx index 04977adf3..5595eacac 100644 --- a/web/pages/viewer-info.tsx +++ b/web/pages/viewer-info.tsx @@ -109,16 +109,19 @@ export default function ViewersOverTime() { title="Current viewers" value={viewerCount.toString()} prefix={} + color="#334" /> } + color="#334" /> } + color="#334" />