diff options
author | Sébastien Dailly <sebastien@dailly.me> | 2022-02-07 15:27:05 +0100 |
---|---|---|
committer | Sébastien Dailly <sebastien@dailly.me> | 2022-02-07 16:43:33 +0100 |
commit | 28417d795a6922c3df3c2c0aea78a51648b0428e (patch) | |
tree | 28af6bd86e2127003855574b4c777efa1cd07207 /editor/actions/load_page.ml | |
parent | 72e3b16bbd258e63f047392c973ba5e8f0a823c8 (diff) |
Added import button in editor
Diffstat (limited to 'editor/actions/load_page.ml')
-rwxr-xr-x | editor/actions/load_page.ml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/actions/load_page.ml b/editor/actions/load_page.ml index ceee038..349eaad 100755 --- a/editor/actions/load_page.ml +++ b/editor/actions/load_page.ml @@ -5,8 +5,7 @@ module M = struct let update : t -> State.t -> State.t = fun page_id state -> - let json = State.Storage.load page_id in - State.load_page page_id state json + State.load_page page_id state end |