Skip to content

Commit

Permalink
latest
Browse files Browse the repository at this point in the history
  • Loading branch information
crzypatchwork authored and crzypatchwork committed Sep 27, 2021
2 parents b9efba5 + 46166c1 commit d3cf31c
Show file tree
Hide file tree
Showing 10 changed files with 6,734 additions and 36,852 deletions.
42,878 changes: 6,297 additions & 36,581 deletions package-lock.json

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion src/components/media-types/glb/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ export const GLBComponent = ({
}
}, [width, height])
if (displayView) {
console.log('profile', displayView)
return (
<div className={styles.container} ref={ref}>
<model-viewer {...props} style={{ width, height }}>
Expand Down
2 changes: 0 additions & 2 deletions src/components/media-types/html/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,6 @@ export const HTMLComponent = (props) => {
}
}


console.log(onDetailView)
if (!onDetailView) {
return (
<div className={classes}>
Expand Down
1 change: 1 addition & 0 deletions src/components/responsive-masonry/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
background-clip: padding-box;

& > * {
position: relative;
display: block;
margin-bottom: 5px;
}
Expand Down
16 changes: 6 additions & 10 deletions src/context/HicetnuncContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ class HicetnuncContextProviderClass extends Component {
hDAO_curation: 'KT1TybhR7XraG75JFYKSrh7KnxukMBT5dor6',
hDAO_marketplace: 'KT1QPvv7sWVaT9PcPiC4fN9BgfX8NB2d5WzL',

lastId: undefined,

subjktInfo: {},
setSubjktInfo: (subjkt) => this.setState({ subjktInfo: subjkt }),

Expand Down Expand Up @@ -422,25 +424,19 @@ class HicetnuncContextProviderClass extends Component {
},

curate: async (objkt_id) => {
await axios
.get(process.env.REACT_APP_REC_CURATE)
.then((res) => {
return res.data.amount
})
.then((amt) => {
Tezos.wallet
.at(this.state.proxyAddress || this.state.v1)
await Tezos.wallet
.at(this.state.v1)
.then((c) =>
c.methods
.curate(
ls.get('hDAO_config') != null
? parseInt(ls.get('hDAO_config'))
: amt,
:
1,
objkt_id
)
.send()
)
})
},

claim_hDAO: async (hDAO_amount, objkt_id) => {
Expand Down
Loading

0 comments on commit d3cf31c

Please sign in to comment.