aboutsummaryrefslogtreecommitdiff
path: root/editor/actions/editor_actions.ml
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2022-02-07 13:43:47 +0100
committerSébastien Dailly <sebastien@dailly.me>2022-02-07 16:43:33 +0100
commit6639625c1e24e764692ec9d65939ff9ef50d76df (patch)
tree099769a2b400309c3a509df294c3710fe5639536 /editor/actions/editor_actions.ml
parent47e4ab0cf1b7d364439a1a47df53f2d58a216239 (diff)
Rename application functions
Diffstat (limited to 'editor/actions/editor_actions.ml')
-rwxr-xr-xeditor/actions/editor_actions.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/actions/editor_actions.ml b/editor/actions/editor_actions.ml
index 8ff2cab..eadf1e7 100755
--- a/editor/actions/editor_actions.ml
+++ b/editor/actions/editor_actions.ml
@@ -125,14 +125,14 @@ let build
Note.E.select
[ Evr.on_el
Ev.click
- (fun _ -> App.ev (module Load_page.M) None)
+ (fun _ -> App.dispatch (module Load_page.M) None)
home_button
; Evr.on_el
Ev.click
(fun ev ->
let el = Jv.Id.of_jv @@ Jv.Id.to_jv @@ Ev.target ev in
let name = El.at note_id_attribute el in
- App.ev (module Load_page.M) name)
+ App.dispatch (module Load_page.M) name)
ul ] in
let childs =