From a30da1b99ab513113e0c3571c42122cf233a641f Mon Sep 17 00:00:00 2001 From: cha0s Date: Fri, 29 Jan 2021 14:31:06 -0600 Subject: [PATCH] fix: first things first --- packages/entity/src/behavior-components/expression.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/entity/src/behavior-components/expression.jsx b/packages/entity/src/behavior-components/expression.jsx index 04e407a..d07b109 100644 --- a/packages/entity/src/behavior-components/expression.jsx +++ b/packages/entity/src/behavior-components/expression.jsx @@ -30,7 +30,7 @@ const Expression = ({ ]; if (j < ops.length - 1) { for (let k = j + 1; k < ops.length; ++k) { - patches.push({op: 'remove', path: join(path, 'ops', k.toString())}); + patches.unshift({op: 'remove', path: join(path, 'ops', k.toString())}); } } else if (j === ops.length) {