Remove unused isSyncing

This commit is contained in:
WardPearce
2025-11-28 15:33:24 +13:00
parent fe1f7847c4
commit b049bbbf13
3 changed files with 2 additions and 4 deletions
-1
View File
@@ -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;
}
+1 -1
View File
@@ -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
});
}