diff --git a/src/components/modals/main/marketplace/Item.jsx b/src/components/modals/main/marketplace/Item.jsx index 947464cd..860194d0 100644 --- a/src/components/modals/main/marketplace/Item.jsx +++ b/src/components/modals/main/marketplace/Item.jsx @@ -189,7 +189,7 @@ export default class Item extends PureComponent { ) : null} - {!this.props.data.data.photos && this.props.data.data.language !== '' ? ( + {this.props.data.data.quotes && this.props.data.data.language !== '' ? (
diff --git a/src/components/modals/main/marketplace/Items.jsx b/src/components/modals/main/marketplace/Items.jsx index 284bbbf2..1b67504a 100644 --- a/src/components/modals/main/marketplace/Items.jsx +++ b/src/components/modals/main/marketplace/Items.jsx @@ -10,7 +10,7 @@ import { export default function Items({ type, items, - collections = [], + collection, toggleFunction, collectionFunction, onCollection, @@ -26,8 +26,6 @@ export default function Items({ } }; - const collection = collections[Math.floor(Math.random() * collections.length)]; - return ( <> {(type === 'all' && !onCollection) || (type === 'collections' && !onCollection) ? ( diff --git a/src/components/modals/main/marketplace/sections/Marketplace.jsx b/src/components/modals/main/marketplace/sections/Marketplace.jsx index 32b15999..2793bf0c 100644 --- a/src/components/modals/main/marketplace/sections/Marketplace.jsx +++ b/src/components/modals/main/marketplace/sections/Marketplace.jsx @@ -402,7 +402,7 @@ export default class Marketplace extends PureComponent { this.toggle('item', input)} collectionFunction={(input) => this.toggle('collection', input)}