Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Center without using center

Gabe Kangas24d71cec5803
diff --git a/web/pages/components/statistic.tsx b/web/pages/components/statistic.tsx
index 91cc5209dc..a2fc48ceb4 100644
--- a/web/pages/components/statistic.tsx
+++ b/web/pages/components/statistic.tsx
@@ -1,5 +1,5 @@
import { Typography, Statistic, Card, Col, Progress} from "antd";
-const { Text, Link } = Typography;
+const { Text } = Typography;
interface ItemProps {
title: string,
@@ -16,9 +16,9 @@ export default function StatisticItem(props: ItemProps) {
return (
<Col span={8}>
<Card>
- <center>
+ <div style={{display: 'flex', alignItems: 'center', justifyContent: 'center'}}>
<View {...props} />
- </center>
+ </div>
</Card>
</Col>
);