From 7041cc6eb7ab3e5782343e6eb23182a3cf9eb6e1 Mon Sep 17 00:00:00 2001 From: Bryan Phelps Date: Mon, 7 Jan 2019 17:20:55 -0800 Subject: [PATCH] Dependency: reason-reactify@2.2.1 (#198) * Dependency: reason-reactify -> 2.2.1 * Update lockfile * Update UiReact.component -> UiReact.emptyHook --- esy.lock/index.json | 12 ++++++------ package.json | 2 +- src/UI/Revery_UI.re | 2 +- src/UI/UiRender.re | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/esy.lock/index.json b/esy.lock/index.json index 1c59b645e..7cc75bd0f 100644 --- a/esy.lock/index.json +++ b/esy.lock/index.json @@ -1,5 +1,5 @@ { - "checksum": "0c521a3e0717de66a3a778a06cb057fa", + "checksum": "696eaaef30d67e0e27ce68b17baca8ec", "root": "revery@link:./package.json", "node": { "revery@link:./package.json": { @@ -9,7 +9,7 @@ "source": { "type": "link", "path": ".", "manifest": "package.json" }, "overrides": [], "dependencies": [ - "rejest@1.2.0@d41d8cd9", "reason-reactify@2.2.0@d41d8cd9", + "rejest@1.2.0@d41d8cd9", "reason-reactify@2.2.1@d41d8cd9", "reason-glfw@3.2.1010@d41d8cd9", "reason-gl-matrix@0.9.9301@d41d8cd9", "reason-fontkit@2.0.4@d41d8cd9", "ocaml@4.6.9@d41d8cd9", @@ -67,14 +67,14 @@ ], "devDependencies": [] }, - "reason-reactify@2.2.0@d41d8cd9": { - "id": "reason-reactify@2.2.0@d41d8cd9", + "reason-reactify@2.2.1@d41d8cd9": { + "id": "reason-reactify@2.2.1@d41d8cd9", "name": "reason-reactify", - "version": "2.2.0", + "version": "2.2.1", "source": { "type": "install", "source": [ - "archive:https://registry.npmjs.org/reason-reactify/-/reason-reactify-2.2.0.tgz#sha1:4bdfb41ffc0afa16e68bd7331adb4cf68510e5c4" + "archive:https://registry.npmjs.org/reason-reactify/-/reason-reactify-2.2.1.tgz#sha1:c8b9c8455d9defd9eab54c8c31df806471b28c4e" ] }, "overrides": [], diff --git a/package.json b/package.json index 889938108..396dcbb87 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "reason-glfw": "^3.2.1010", "reason-fontkit": "^2.0.4", "reason-gl-matrix": "^0.9.9301", - "reason-reactify": "^2.2.0", + "reason-reactify": "^2.2.1", "@opam/color": "^0.2.0", "@opam/lwt": "^4.0.0", "@opam/lwt_ppx": "^1.1.0", diff --git a/src/UI/Revery_UI.re b/src/UI/Revery_UI.re index 178764c25..837fe1530 100644 --- a/src/UI/Revery_UI.re +++ b/src/UI/Revery_UI.re @@ -31,7 +31,7 @@ let component = UiReact.component; include Primitives; -type renderFunction = unit => UiReact.component; +type renderFunction = unit => UiReact.emptyHook; open UiContainer; diff --git a/src/UI/UiRender.re b/src/UI/UiRender.re index b1622d892..66009bbbf 100644 --- a/src/UI/UiRender.re +++ b/src/UI/UiRender.re @@ -18,7 +18,7 @@ open RenderPass; let _projection = Mat4.create(); -let render = (container: UiContainer.t, component: UiReact.component) => { +let render = (container: UiContainer.t, component: UiReact.emptyHook) => { let {rootNode, container, window, options, _} = container; AnimationTicker.tick();