@@ -128,7 +128,7 @@ const SellerRegistrationForm = () => {
128
128
} ) ;
129
129
} else {
130
130
setFormData ( {
131
- sellerName : translatedPreFilledText [ 'retail-outlet-name' ] ,
131
+ sellerName : currentUser ?. pi_username || '' ,
132
132
sellerType : translatedSellerTypeOptions [ 2 ] . value ,
133
133
sellerDescription : translatedPreFilledText [ 'seller-description' ] ,
134
134
sellerAddress : translatedPreFilledText [ 'seller-address' ] ,
@@ -281,7 +281,6 @@ const SellerRegistrationForm = () => {
281
281
} ;
282
282
283
283
const translatedPreFilledText = {
284
- 'retail-outlet-name' : t ( 'SCREEN.SELLER_REGISTRATION.SELLER_RETAIL_OUTLET_PLACEHOLDER' ) ,
285
284
'seller-description' : t ( 'SCREEN.SELLER_REGISTRATION.SELLER_DETAILS_PLACEHOLDER' ) ,
286
285
'seller-address' : t ( 'SCREEN.SELLER_REGISTRATION.SELLER_ADDRESS_LOCATION_PLACEHOLDER' ) ,
287
286
} ;
@@ -290,7 +289,6 @@ const SellerRegistrationForm = () => {
290
289
fieldName : keyof IFormData ;
291
290
preFilledTextKey : keyof typeof translatedPreFilledText ;
292
291
} [ ] = [
293
- { fieldName : 'sellerName' , preFilledTextKey : 'retail-outlet-name' } ,
294
292
{ fieldName : 'sellerDescription' , preFilledTextKey : 'seller-description' } ,
295
293
{ fieldName : 'sellerAddress' , preFilledTextKey : 'seller-address' } ,
296
294
] ;
0 commit comments