Skip to content

🎥 Make videos programmatically with React

fix typos

Jonny Burger360db561f8e4
diff --git a/packages/core/src/audio/shared-audio-tags.tsx b/packages/core/src/audio/shared-audio-tags.tsx
index ffd18e86fc..71db192c8b 100644
--- a/packages/core/src/audio/shared-audio-tags.tsx
+++ b/packages/core/src/audio/shared-audio-tags.tsx
@@ -39,7 +39,7 @@ type SharedContext = {
updateAudio: (options: {
id: number;
aud: RemotionAudioProps;
- auidoId: string;
+ audioId: string;
}) => void;
playAllAudios: () => void;
numberOfAudioTags: number;
@@ -294,7 +294,7 @@ export const useSharedAudio = (aud: RemotionAudioProps, audioId: string) => {
if (typeof document !== 'undefined') {
effectToUse(() => {
if (ctx && ctx.numberOfAudioTags > 0) {
- ctx.updateAudio(elem.id, aud, audioId);
+ ctx.updateAudio({id: elem.id, aud, audioId});
}
}, [aud, ctx, elem.id, audioId]);