|
|
@@ -185,7 +185,7 @@ export default (() => { |
|
|
return () => { |
|
|
return () => { |
|
|
cancelled = true |
|
|
cancelled = true |
|
|
} |
|
|
} |
|
|
}, [id, loading, theatreInfo.hostFlg, theatreInfo.postId]) |
|
|
|
|
|
|
|
|
}, [id, theatreInfo.hostFlg, theatreInfo.postId]) |
|
|
|
|
|
|
|
|
useEffect (() => { |
|
|
useEffect (() => { |
|
|
setVideoLength (0) |
|
|
setVideoLength (0) |
|
|
@@ -246,7 +246,7 @@ export default (() => { |
|
|
{post ? ( |
|
|
{post ? ( |
|
|
<> |
|
|
<> |
|
|
<PostEmbed |
|
|
<PostEmbed |
|
|
key={post ? `${ post.id }:${ theatreInfo.postStartedAt ?? '' }` : 'empty'} |
|
|
|
|
|
|
|
|
key={post.id} |
|
|
ref={embedRef} |
|
|
ref={embedRef} |
|
|
post={post} |
|
|
post={post} |
|
|
onLoadComplete={info => { |
|
|
onLoadComplete={info => { |
|
|
|