diff --git a/apps/BosGenaDrop/widget/DropFlow/ArtistPage/Index.jsx b/apps/BosGenaDrop/widget/DropFlow/ArtistPage/Index.jsx index e42a6ad5..df181b2a 100644 --- a/apps/BosGenaDrop/widget/DropFlow/ArtistPage/Index.jsx +++ b/apps/BosGenaDrop/widget/DropFlow/ArtistPage/Index.jsx @@ -80,7 +80,7 @@ if (!accountId) { return ( -); +); \ No newline at end of file diff --git a/apps/BosGenaDrop/widget/DropFlow/ArtistPage/Tabs.jsx b/apps/BosGenaDrop/widget/DropFlow/ArtistPage/Tabs.jsx index 1bd65cd1..a624277d 100644 --- a/apps/BosGenaDrop/widget/DropFlow/ArtistPage/Tabs.jsx +++ b/apps/BosGenaDrop/widget/DropFlow/ArtistPage/Tabs.jsx @@ -207,7 +207,7 @@ return ( Don't have Page?{" "} Create One @@ -276,7 +276,7 @@ return ( {profile.discussion.type === "nftcommunity" && ( )} diff --git a/apps/BosGenaDrop/widget/DropFlow/ArtistPage/theme1.jsx b/apps/BosGenaDrop/widget/DropFlow/ArtistPage/theme1.jsx index ba8586f3..88bb0d35 100644 --- a/apps/BosGenaDrop/widget/DropFlow/ArtistPage/theme1.jsx +++ b/apps/BosGenaDrop/widget/DropFlow/ArtistPage/theme1.jsx @@ -356,7 +356,7 @@ if (accountId) { console.log("nFTCount: ", nFTCount); // {/* {props.createText ?? "Create Your Page"} @@ -435,7 +435,7 @@ return ( @@ -513,4 +513,4 @@ return ( -); +); \ No newline at end of file diff --git a/build/BosGenaDrop/src/DropFlow/ArtistPage/Index.jsx b/build/BosGenaDrop/src/DropFlow/ArtistPage/Index.jsx index 8176e146..df181b2a 100644 --- a/build/BosGenaDrop/src/DropFlow/ArtistPage/Index.jsx +++ b/build/BosGenaDrop/src/DropFlow/ArtistPage/Index.jsx @@ -3,8 +3,13 @@ const isMyProfile = accountId === context.accountId; const profile = Social.getr(`${accountId}/profile`); +// const themeNumber = profile.theme ?? 0; const themeNumber = profile.theme ?? 0; +console.log("profile", profile); + +console.log("theme", themeNumber); + const showThemeButton = profile.theme; const createText = profile.theme ? "Edit Page" : "Create Your Page"; @@ -80,6 +85,9 @@ return ( profile, accountId, onChangeTheme: () => { + // TODO: increment themeNumber by 1 to max 2 and then set it back to 0 + console.log("themeNumber", themeNumber); + console.log("context", context); const nextThemeNumber = (themeNumber + 1) % 3; Social.set( { @@ -97,4 +105,4 @@ return ( }} /> -); +); \ No newline at end of file diff --git a/build/BosGenaDrop/src/DropFlow/ArtistPage/Tabs.jsx b/build/BosGenaDrop/src/DropFlow/ArtistPage/Tabs.jsx index eb93ccee..a624277d 100644 --- a/build/BosGenaDrop/src/DropFlow/ArtistPage/Tabs.jsx +++ b/build/BosGenaDrop/src/DropFlow/ArtistPage/Tabs.jsx @@ -133,6 +133,31 @@ const portfolioIds = portfolio && Object.keys(portfolio); const currentTheme = Number(profile.theme) ?? 0; +// if (portfolioIds) { +// for (let i = 0; i < portfolioIds.length; i++) { +// const id = portfolioIds[i]; +// const item = profile.portfolio[id]; + +// console.log("Image url: ", item.image.cid); +// } +// } + +// {description && ( +// +// )} + const getFirstSBTToken = () => { const view = Near.view("registry.i-am-human.near", "sbt_tokens_by_owner", { account: `${context.accountId}`, @@ -263,6 +288,9 @@ return ( role="tabpanel" aria-labelledby="pills-nfts-tab" > + {/* {state.loadnfts && ( + + )} */} {nftType === "collection" && ( )} {nftType === "single" && ( + //
{nftAddresses.map((address) => (
@@ -283,6 +315,7 @@ return ( />
))} + {/*
{JSON.stringify(nftAddresses, null, 2)}
*/}
)} @@ -345,6 +378,7 @@ return (
-); +); \ No newline at end of file diff --git a/package.json b/package.json index 89a36b08..a7d9c621 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ }, "devDependencies": { "@types/styled-components": "^5.1.26", - "bos-workspace": "git+https://github.com/NEARBuilders/bos-workspace#main", + "bos-workspace": "^0.0.1-alpha.5", "lint-staged": "^13.2.1", "npm-watch": "^0.11.0", "prettier": "^2.8.8"