refactor: image src

This commit is contained in:
cha0s 2022-05-09 19:58:42 -05:00
parent 5ad35f48b9
commit fc190b13be

View File

@ -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;