aboutsummaryrefslogtreecommitdiff
path: root/editor/actions
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2022-02-07 15:22:26 +0100
committerSébastien Dailly <sebastien@dailly.me>2022-02-07 16:43:33 +0100
commitf6a1a4f2f44e0af679467620f89d0732021cf934 (patch)
tree96e765c303a53fc246b56dba9137a9d836365e0e /editor/actions
parent28417d795a6922c3df3c2c0aea78a51648b0428e (diff)
Use the common fileLoader element
Diffstat (limited to 'editor/actions')
-rwxr-xr-xeditor/actions/import.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/actions/import.ml b/editor/actions/import.ml
index fd4bef8..cb0c16d 100755
--- a/editor/actions/import.ml
+++ b/editor/actions/import.ml
@@ -11,7 +11,7 @@ module M = struct
| None -> state
| Some file ->
(* Back to UTF-16 *)
- let content = file.Forms.Selector.content in
+ let content = file.Elements.Input.content in
Brr.Console.(log [content] );
match State.Storage.of_json content with
| Error _ -> state