From ff076293838754285653490c6195cceb1ab16bb9 Mon Sep 17 00:00:00 2001 From: Richard Harris Date: Mon, 31 Dec 2018 16:47:35 -0500 Subject: [PATCH] remove unused opts --- motion.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/motion.mjs b/motion.mjs index 3ac9f99167..395c678366 100644 --- a/motion.mjs +++ b/motion.mjs @@ -293,7 +293,7 @@ export function spring(value, opts = {}) { const spring = { set, - update: (fn, opts) => set(fn(target_value, value), opts), + update: fn => set(fn(target_value, value)), subscribe: store.subscribe, stiffness, damping