From f6a1a4f2f44e0af679467620f89d0732021cf934 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Mon, 7 Feb 2022 15:22:26 +0100 Subject: Use the common fileLoader element --- editor/actions/import.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor/actions/import.ml') 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 -- cgit v1.2.3