summaryrefslogtreecommitdiff
path: root/editor/actions/load_page.ml
blob: 0d02f71208694f0984cdc82814a4e0c226d8223b (plain)
1
2
3
4
5
6
7
(** Load the page with the given ID in the editor *)
module M = struct
  type t = Jstr.t option

  let process : t -> State.t -> State.t =
   fun page_id state -> State.load_page page_id state
end