File tree 3 files changed +3
-4
lines changed
app/[locale]/seller/sale-items/[id]
3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -7,5 +7,4 @@ NODE_ENV=development
7
7
NEXT_PUBLIC_API_URL = http://localhost:8001/api/v1
8
8
NEXT_PUBLIC_PI_SDK_URL = https://sdk.minepi.com/pi-sdk.js
9
9
10
- NEXT_PUBLIC_SENTRY_DSN = " ADD YOUR SENTRY DSN"
11
- NEXT_PUBLIC_IMAGE_PLACEHOLDER_URL = " ADD YOUR IMAGE PLACEHOLDER URL"
10
+ NEXT_PUBLIC_SENTRY_DSN = " ADD YOUR SENTRY DSN"
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ export default function BuyFromSellerForm({ params }: { params: { id: string } }
114
114
< div className = "rounded-[50%] w-[65px] h-[65px] relative" >
115
115
< Image
116
116
className = "rounded-[50%]"
117
- src = { sellerShopInfo . image && sellerShopInfo . image . trim ( ) !== "" ? sellerShopInfo . image : process . env . NEXT_PUBLIC_IMAGE_PLACEHOLDER_URL || '/ images/shared/upload.png' }
117
+ src = { sellerShopInfo . image && sellerShopInfo . image . trim ( ) !== "" ? sellerShopInfo . image : ' images/logo.svg' }
118
118
alt = "seller logo"
119
119
fill
120
120
sizes = "(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ const MapMarkerPopup = ({ seller }: { seller: any }) => {
13
13
const imageUrl =
14
14
seller . image && seller . image . trim ( ) !== ''
15
15
? seller . image
16
- : process . env . NEXT_PUBLIC_IMAGE_PLACEHOLDER_URL || '/images/shared/upload.png ' ;
16
+ : '/images/logo.svg ' ;
17
17
18
18
const translateSellerCategory = ( category : string ) : string => {
19
19
switch ( category ) {
You can’t perform that action at this time.
0 commit comments