Remove unnecessary console logs
This commit removes various console.log statements that were used for debugging purposes. These logs clutter the output and provide no value in production. The changes affect multiple files including components and composables related to media control and rendering.
This commit is contained in:
@@ -100,14 +100,7 @@ function formatTime(ms: number | null | undefined): string {
|
||||
}
|
||||
|
||||
const currentTime = computed(() => formatTime(state.value?.position_ms));
|
||||
const totalTime = computed(() => {
|
||||
const duration = state.value?.duration_ms;
|
||||
const transport = state.value?.transport_state;
|
||||
console.log(
|
||||
`[CurrentTrack] rendererId=${props.rendererId}, duration_ms=${duration}, transport=${transport}, title=${state.value?.current_track?.title}`,
|
||||
);
|
||||
return formatTime(duration);
|
||||
});
|
||||
const totalTime = computed(() => formatTime(state.value?.duration_ms));
|
||||
|
||||
const hasCover = computed(
|
||||
() => !!metadata.value?.album_art_uri && !imageError.value,
|
||||
|
||||
Reference in New Issue
Block a user