Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
newrecord[/* initialState */10] = (function () {
return /* record */[
/* posts : array */[],
/* isFetching : true */1
];
});
newrecord[/* reducer */12] = (function (action, _) {
return /* Update */Block.__(0, [/* record */[
/* posts */action[0],
/* isFetching : false */0
]]);
});
return newrecord;
}
var $$default = ReasonReact.wrapReasonForJs(component, (function () {
return make(/* array */[]);
}));
export {
component ,
fetchPosts ,
make ,
$$default ,
$$default as default,
}
/* component Not a pure module */
var component = ReasonReact.statelessComponent("About");
function make() {
var newrecord = component.slice();
newrecord[/* render */9] = (function () {
return React.createElement("div", undefined, React.createElement("div", undefined, Utils.textEl("About")), React.createElement("img", {
alt: "logo",
height: "80px",
src: Logo
}));
});
return newrecord;
}
var $$default = ReasonReact.wrapReasonForJs(component, (function () {
return make(/* array */[]);
}));
export {
component ,
make ,
$$default ,
$$default as default,
}
/* component Not a pure module */