Skip to content

🎥 Make videos programmatically with React

@remotion/studio: Fix copied effects lint

Jonny Burgerf3eb75273a49
diff --git a/packages/studio/src/components/Timeline/TimelineClipboardKeybindings.tsx b/packages/studio/src/components/Timeline/TimelineClipboardKeybindings.tsx
index b30d82493d..a5423b87fb 100644
--- a/packages/studio/src/components/Timeline/TimelineClipboardKeybindings.tsx
+++ b/packages/studio/src/components/Timeline/TimelineClipboardKeybindings.tsx
@@ -367,11 +367,11 @@ export const TimelineClipboardKeybindings: React.FC = () => {
type: payload.type,
effects: payload.effects,
clientId,
- }).then((result) => {
- if (result.success) {
+ }).then((pasteResult) => {
+ if (pasteResult.success) {
showNotification('Pasted effects', 2000);
} else {
- showNotification(result.reason, 4000);
+ showNotification(pasteResult.reason, 4000);
}
});
})