mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-11 03:24:16 +00:00
use liveChat
This commit is contained in:
parent
ab34cc9e3d
commit
cd9d04645b
@ -3,7 +3,7 @@ import * as antd from "antd"
|
|||||||
|
|
||||||
import Livestream from "../../models/livestream"
|
import Livestream from "../../models/livestream"
|
||||||
|
|
||||||
import { UserPreview } from "components"
|
import { UserPreview, LiveChat } from "components"
|
||||||
import { Icons } from "components/Icons"
|
import { Icons } from "components/Icons"
|
||||||
|
|
||||||
import Plyr from "plyr"
|
import Plyr from "plyr"
|
||||||
@ -235,11 +235,9 @@ export default class StreamViewer extends React.Component {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="chatbox">
|
<div className="chatbox">
|
||||||
<antd.Result>
|
<LiveChat
|
||||||
<h1>
|
roomId={`livestream/${this.state.streamInfo?.username}`}
|
||||||
Cannot connect with chat server
|
/>
|
||||||
</h1>
|
|
||||||
</antd.Result>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user