From 19990a3edb29cb1a8ce09659db1a51cd36cbb4ad Mon Sep 17 00:00:00 2001 From: bobzel Date: Wed, 15 May 2024 08:31:35 -0400 Subject: cleanup --- src/client/views/nodes/trails/SlideEffect.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/views/nodes/trails') diff --git a/src/client/views/nodes/trails/SlideEffect.tsx b/src/client/views/nodes/trails/SlideEffect.tsx index db2ac1ea0..e1cf9b127 100644 --- a/src/client/views/nodes/trails/SlideEffect.tsx +++ b/src/client/views/nodes/trails/SlideEffect.tsx @@ -5,7 +5,7 @@ import './SlideEffect.scss'; import { Doc } from '../../../../fields/Doc'; import { NumCast } from '../../../../fields/Types'; -interface Props { +interface SlideEffectProps { // pass in doc to extract width, height, bg doc?: Doc; dir: PresEffectDirection; @@ -31,7 +31,7 @@ const infiniteOptions = { * This component wraps around the doc to create an effect animation, and also wraps the preview animations * for the effects as well. */ -export default function SpringAnimation({ doc, dir, friction, tension, mass, presEffect, children, infinite }: Props) { +export default function SpringAnimation({ doc, dir, friction, tension, mass, presEffect, children, infinite }: SlideEffectProps) { const [springs, api] = useSpring( () => ({ from: { -- cgit v1.2.3-70-g09d2