refactor: image src
This commit is contained in:
parent
5ad35f48b9
commit
fc190b13be
|
@ -1,6 +1,3 @@
|
|||
import {join} from 'path';
|
||||
|
||||
import {Image} from '@avocado/graphics';
|
||||
import {
|
||||
classnames,
|
||||
PropTypes,
|
||||
|
@ -26,7 +23,7 @@ const ItemSlotComponent = (props) => {
|
|||
if (item) {
|
||||
const backgroundImage = item.imageForSlot();
|
||||
if (backgroundImage) {
|
||||
backgroundImageUri = backgroundImage.texture.baseTexture.resource.source.src;
|
||||
backgroundImageUri = backgroundImage.src;
|
||||
}
|
||||
if (qty > 9999) {
|
||||
qtyClass = styles.e4;
|
||||
|
|
Loading…
Reference in New Issue
Block a user