You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(window.webpackJsonp=window.webpackJsonp||[]).push([[19],{ZaGI:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));n("q1tI");var a=n("LXcg"),r=function(e,t){return void 0===e&&(e=[]),void 0===t&&(t=1),Object(a.z)("Store",{ascending:"createdAt",role:{c:"_Role",f:"containedIn",v:e,t:"pointer"}})}},sFYk:function(e,t,n){"use strict";n.r(t);var a=n("q1tI"),r=n.n(a),o=n("463D"),c=n("ZaGI"),u=n("xtVq");t.default=function(){var e=r.a.useContext(u.a),t=Object(a.useState)(null),n=t[0],l=t[1];return Object(a.useEffect)((function(){var t=e&&e.roleObjects.filter((function(e){return e.get("name").includes("Store-")})).map((function(e){return e.id}))||[];t&&t.length&&Object(c.a)(t,1).then(l)}),[e]),r.a.createElement(r.a.Fragment,null,r.a.createElement("p",null,"Welcome to bidbid.live."),r.a.createElement("p",null,r.a.createElement(o.a,{href:"/setupstore"},"Setup")," a store to get started."),r.a.createElement("p",null,r.a.createElement(o.a,{href:"/config"},"Configure")," a template to for your social media."),n&&n.map((function(e,t){return r.a.createElement(r.a.Fragment,null,r.a.createElement("p",{key:t},r.a.createElement(o.a,{href:"/store/"+e.get("uniqueName")},"Upload")," ","products to ",e.get("name")," store to start posting to your social platform."))})))}}}]);