Skip to content

Commit

Permalink
fix: compilation issue in Video Demo
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverlaz committed Dec 1, 2023
1 parent fd3aef6 commit 2872161
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 443 deletions.
1 change: 0 additions & 1 deletion sample-apps/react/react-video-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"watch:storybook": "start-storybook dev -p 6006"
},
"dependencies": {
"@nivo/line": "^0.80.0",
"@sentry/react": "^7.54.0",
"@stream-io/stream-chat-css": "^3.14.1",
"@stream-io/video-react-sdk": "workspace:^",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
import { FC, useEffect, useRef, useState } from 'react';
import { CallStatsReport, useCallStateHooks } from '@stream-io/video-react-sdk';
import {
CallStatsLatencyChart,
CallStatsReport,
useCallStateHooks,
} from '@stream-io/video-react-sdk';
import classnames from 'classnames';

import StatCard from '../StatCard';
import { BarGraph, Close, Cog, Info, Latency } from '../Icons';
import Button from '../Button';
import Tooltip from '../Tooltip';
import CallStatsLatencyChart from '../CallStatsLatencyChart';

import { useModalContext } from '../../contexts/ModalContext';

Expand Down Expand Up @@ -126,10 +129,7 @@ export const CallStats: FC<Props> = ({ className, callId }) => {
</p>

<div className={styles.chartContainer}>
<CallStatsLatencyChart
className={styles.chart}
values={latencyBuffer}
/>
<CallStatsLatencyChart values={latencyBuffer} />
</div>

<div className={styles.containerHeader}>
Expand All @@ -144,7 +144,7 @@ export const CallStats: FC<Props> = ({ className, callId }) => {
/>
</div>
<p className={styles.description}>
Your call is recieving data and the connection speed is healthy.
Your call is receiving data and the connection speed is healthy.
</p>
<div className={styles.statCards}>
<StatCard
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 2872161

Please sign in to comment.