Permalink
Browse files

💥 `@phenomic/plugin-renderer-react`: (reason) rename `jsEdgeToReason`…

… to `jsEdge` as there is not transformation anymore
  • Loading branch information...
MoOx committed Jan 11, 2018
1 parent 5d6d71a commit 6599f41d4139c430801b44a2e043b60f29a1f4bd
@@ -66,7 +66,7 @@ let make = (~posts) => {
let jsComponent =
ReasonReact.wrapReasonForJs(~component, jsProps =>
make(~posts=PhenomicPresetReactApp.jsEdgeToReason(jsProps##posts))
make(~posts=PhenomicPresetReactApp.jsEdge(jsProps##posts))
);
let queries = props => {
@@ -24,7 +24,7 @@ let make = (~post) => {
let jsComponent =
ReasonReact.wrapReasonForJs(~component, jsProps =>
make(~post=PhenomicPresetReactApp.jsEdgeToReason(jsProps##post))
make(~post=PhenomicPresetReactApp.jsEdge(jsProps##post))
);
let queries = props => {
@@ -30,7 +30,7 @@ type jsEdge('a) = {
"node": 'a
};
let jsEdgeToReason = jsEdge =>
let jsEdge = jsEdge =>
switch jsEdge##status {
| "loading" => Loading
| "errored" => Errored

0 comments on commit 6599f41

Please sign in to comment.