aboutsummaryrefslogtreecommitdiff
path: root/motus/js/reload.ml
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2022-02-27 13:06:59 +0100
committerSébastien Dailly <sebastien@dailly.me>2022-02-27 13:06:59 +0100
commit5dc124b621ab05ba7dbde306a557947197941228 (patch)
tree73ac506a0540c4eff85c8cce38ff6c946144106f /motus/js/reload.ml
parent3235260a3dca98e96ab50458a5daf3baf3f238d0 (diff)
JS Update
Diffstat (limited to 'motus/js/reload.ml')
-rw-r--r--motus/js/reload.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/motus/js/reload.ml b/motus/js/reload.ml
index ee9ab37..912141d 100644
--- a/motus/js/reload.ml
+++ b/motus/js/reload.ml
@@ -34,5 +34,5 @@ let process : t -> State.state -> State.state =
match current_prop with
| None -> new_state
| Some prop ->
- FieldList.set_with_props prop state.fields new_state.rules;
+ FieldList.set_with_props prop new_state.fields new_state.rules;
State.{ new_state with current_prop = prop }