const addressForArticles = "wikiTest"; const writersWhiteList = ["testwiki.near", "eugenewolf507.near"]; const authorForWidget = "f2bc8abdb8ba64fe5aac9689ded9491ff0e6fdcd7a5c680b7cf364142d1789fb"; const accountId = props.accountId ?? context.accountId; if (!accountId) { return "No account ID"; } const profile = props.profile ?? Social.getr(`${accountId}/profile`); if (profile === null) { return "Loading"; } return ( <div className="container-fluid" style={{ backgroundColor: "rgb(230, 230, 230)", borderRadius: "20px", padding: "0", }} > <Widget src={`${authorForWidget}/widget/WikiOnSocialDB_MainNavigation`} props={{ currentNavPill: "articles", writersWhiteList }} /> <div style={{ margin: "0 auto", width: "90%", minWidth: "360px" }}> <Widget src={`${authorForWidget}/widget/WikiOnSocialDB_AllArticlesList`} props={{ writersWhiteList }} /> </div> </div> );