-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-templates-assignmentdetails-template-js-4a4803360bffd2407076.js
2 lines (2 loc) · 1.7 KB
/
component---src-templates-assignmentdetails-template-js-4a4803360bffd2407076.js
1
2
webpackJsonp([0xe662803b7591],{218:function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.AssignmentsPageQuery=void 0;var s=n(3),u=o(s),c=n(7),f=r(c),p=n(69),d=(o(p),{data:f.object.isRequired}),y=function(e){function t(){return a(this,t),l(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props.data.assignments;return console.log("assignment"+e),u.default.createElement("div",{style:{marginBottom:"5rem"}},u.default.createElement("section",{className:"assignment",style:{textAlign:"center"}},u.default.createElement("h2",null,e.title),u.default.createElement("nav",null,u.default.createElement("ul",{style:{listStyle:"none",width:"100%"}},u.default.createElement("li",{dangerouslySetInnerHTML:{__html:e.description}})))))},t}(u.default.Component);y.propTypes=d,t.default=y;t.AssignmentsPageQuery="** extracted graphql fragment **"}});
//# sourceMappingURL=component---src-templates-assignmentdetails-template-js-4a4803360bffd2407076.js.map