Remove unused isSyncing
This commit is contained in:
@@ -176,7 +176,6 @@ export const playerPlaylistHistory: Writable<string[]> = writable([]);
|
||||
|
||||
export interface PlayerState {
|
||||
data: { video: VideoPlay; content: PhasedDescription; playlistId: string | null };
|
||||
isSyncing?: boolean;
|
||||
playerElement?: HTMLMediaElement | undefined;
|
||||
}
|
||||
|
||||
|
||||
@@ -415,7 +415,7 @@
|
||||
{/if}
|
||||
<div class="player">
|
||||
{#key $playerState.data.video.videoId}
|
||||
<Player data={$playerState.data} isSyncing={$playerState.isSyncing} />
|
||||
<Player data={$playerState.data} />
|
||||
{/key}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -78,8 +78,7 @@
|
||||
(!$playerState || $playerState.data.video.videoId !== data.video.videoId)
|
||||
) {
|
||||
playerState.set({
|
||||
data: data,
|
||||
isSyncing: $syncPartyPeerStore !== null
|
||||
data: data
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user