diff options
author | Sébastien Dailly <sebastien@dailly.me> | 2022-02-07 13:43:47 +0100 |
---|---|---|
committer | Sébastien Dailly <sebastien@dailly.me> | 2022-02-07 16:43:33 +0100 |
commit | 6639625c1e24e764692ec9d65939ff9ef50d76df (patch) | |
tree | 099769a2b400309c3a509df294c3710fe5639536 /editor/actions/import.ml | |
parent | 47e4ab0cf1b7d364439a1a47df53f2d58a216239 (diff) |
Rename application functions
Diffstat (limited to 'editor/actions/import.ml')
-rwxr-xr-x | editor/actions/import.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/actions/import.ml b/editor/actions/import.ml index da74b50..b87960b 100755 --- a/editor/actions/import.ml +++ b/editor/actions/import.ml @@ -21,7 +21,7 @@ module M = struct type t = Forms.Selector.t - let update + let process : t -> State.t -> State.t = fun t state -> match t.Forms.Selector.file with @@ -54,5 +54,5 @@ let create () = in Note.E.map - (fun v -> App.ev (module M) v) + (fun v -> App.dispatch (module M) v) (Note.E.Option.on_some ev) |