Skip to content

🎥 Make videos programmatically with React

`@remotion/studio`: Remove easing paste notification (#9404)

Jonny Burger54e9918497e1
diff --git a/packages/studio/src/components/Timeline/TimelineClipboardKeybindings.tsx b/packages/studio/src/components/Timeline/TimelineClipboardKeybindings.tsx
index 6304f04492..a87652c770 100644
--- a/packages/studio/src/components/Timeline/TimelineClipboardKeybindings.tsx
+++ b/packages/studio/src/components/Timeline/TimelineClipboardKeybindings.tsx
@@ -1120,21 +1120,12 @@ export const TimelineClipboardKeybindings: React.FC = () => {
return;
}
- return updatePromise
- .then(() => {
- showNotification(
- easingSelections.length === 1
- ? 'Pasted easing'
- : 'Pasted easing to selected segments',
- 2000,
- );
- })
- .catch((err) => {
- showNotification(
- `Could not paste easing: ${(err as Error).message}`,
- 3000,
- );
- });
+ return updatePromise.catch((err) => {
+ showNotification(
+ `Could not paste easing: ${(err as Error).message}`,
+ 3000,
+ );
+ });
}
const effectPropResult = parseEffectPropClipboardDataResult(text);