Skip to content

🎥 Make videos programmatically with React

Update AudioForDevelopment.tsx

Jonny Burger09bbedb1938b
diff --git a/packages/core/src/audio/AudioForDevelopment.tsx b/packages/core/src/audio/AudioForDevelopment.tsx
index aef8bd9404..5c55a4c3e6 100644
--- a/packages/core/src/audio/AudioForDevelopment.tsx
+++ b/packages/core/src/audio/AudioForDevelopment.tsx
@@ -33,8 +33,6 @@ export const AudioForDevelopment: React.FC<RemotionAudioProps> = (props) => {
const timeShift = Math.abs(shouldBeTime - isTime);
if (timeShift > 0.5) {
console.log('Time has shifted by', timeShift, 'sec. Fixing...');
- }
- if (timeShift > 0.5) {
// If scrubbing around, adjust timing
// or if time shift is bigger than 0.2sec
audioRef.current.currentTime = shouldBeTime;