File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export const Header = () => {
2929
3030 < div className = { styles . right } >
3131 < Button onClick = { context . syncTaquito } secondary >
32- < Secondary > sync</ Secondary >
32+ < Secondary > sync { context . activeAccount } </ Secondary >
3333 </ Button >
3434
3535 < Button onClick = { context . toogleNavbar } secondary >
Original file line number Diff line number Diff line change @@ -33,11 +33,18 @@ export const ItemInfo = ({
3333 //owners = _.values(_.omitBy(owners, (value, key) => !key.startsWith(token_info.creators[0])))
3434
3535 const soldOutMessage = 'not for sale'
36+ var message = ''
37+
3638 //const notForSale = available > 0 || isNaN(editions)
37- const message =
39+ try {
40+ message =
3841 available > 0
3942 ? 'collect for ' + Number ( swaps [ 0 ] . xtz_per_objkt ) / 1000000 + ' tez'
4043 : 'not for sale'
44+ } catch ( e ) {
45+ console . log ( e )
46+ message = 'not for sale'
47+ }
4148
4249 const handleCollect = ( ) => {
4350 if ( Tezos == null ) {
Original file line number Diff line number Diff line change @@ -170,6 +170,8 @@ export default class HicetnuncContextProvider extends Component {
170170 )
171171 } ,
172172
173+ activeAccount : undefined ,
174+
173175 cancel : async ( swap_id ) => {
174176 return await Tezos . wallet
175177 . at ( this . state . objkt )
You can’t perform that action at this time.
0 commit comments