Commit cb584a5c authored by Neosoulink's avatar Neosoulink
Browse files

fix: get correct data at InStore screen

parent 4ffca528
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -100,9 +100,13 @@ function InStoreScreen({}) {
								<ProductItem
									type={VIEW_TYPE}
									data={{
										warehouseId: item.id,
										warehouseLogo: undefined,
										productId: item.product.id,
										warehouseId:
											WAREHOUSE_PRODUCTS_QUERY_RESPONSE
												.data?.warehouse?.id,
										warehouseLogo:
											WAREHOUSE_PRODUCTS_QUERY_RESPONSE
												.data?.warehouse?.logo,
										productId: item.id,
										title: item.product.title[0].value,
										description:
											item.product.description[0].value,