diff options
author | Sébastien Dailly <sebastien@dailly.me> | 2022-02-07 15:22:26 +0100 |
---|---|---|
committer | Sébastien Dailly <sebastien@dailly.me> | 2022-02-07 16:43:33 +0100 |
commit | f6a1a4f2f44e0af679467620f89d0732021cf934 (patch) | |
tree | 96e765c303a53fc246b56dba9137a9d836365e0e /editor/actions | |
parent | 28417d795a6922c3df3c2c0aea78a51648b0428e (diff) |
Use the common fileLoader element
Diffstat (limited to 'editor/actions')
-rwxr-xr-x | editor/actions/import.ml | 2 |
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 |