Skip to content

Commit 70c3654

Browse files
committed
default the retail shop name to current user's pi username
1 parent 453652c commit 70c3654

File tree

1 file changed

+1
-1
lines changed
  • src/app/[locale]/seller/registration

1 file changed

+1
-1
lines changed

src/app/[locale]/seller/registration/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ const SellerRegistrationForm = () => {
129129
});
130130
} else {
131131
setFormData({
132-
sellerName: translatedPreFilledText['retail-outlet-name'],
132+
sellerName: currentUser?.pi_username || '',
133133
sellerType: translatedSellerTypeOptions[2].value,
134134
sellerDescription: translatedPreFilledText['seller-description'],
135135
sellerAddress: translatedPreFilledText['seller-address'],

0 commit comments

Comments
 (0)