Skip to content

Commit

Permalink
Dependency: reason-reactify@2.2.1 (#198)
Browse files Browse the repository at this point in the history
* Dependency: reason-reactify -> 2.2.1

* Update lockfile

* Update UiReact.component -> UiReact.emptyHook
  • Loading branch information
bryphe authored Jan 8, 2019
1 parent 2ec9ecb commit 7041cc6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions esy.lock/index.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"checksum": "0c521a3e0717de66a3a778a06cb057fa",
"checksum": "696eaaef30d67e0e27ce68b17baca8ec",
"root": "revery@link:./package.json",
"node": {
"revery@link:./package.json": {
Expand All @@ -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",
Expand Down Expand Up @@ -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": [],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/UI/Revery_UI.re
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ let component = UiReact.component;

include Primitives;

type renderFunction = unit => UiReact.component;
type renderFunction = unit => UiReact.emptyHook;

open UiContainer;

Expand Down
2 changes: 1 addition & 1 deletion src/UI/UiRender.re
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 7041cc6

Please sign in to comment.