The complete open source platform to run your entire marketplace. Storefront, vendor panel, admin console, and integrations in one enterprise-grade platform you own.
TypeScript b2b-marketplacecomposable-commerceecommerceenterpriseheadless-commercemarketplacemedusamedusajsmulti-vendortypescript
refactor(vendor): simplify seller general section header layout
vholik104fcfb3d772
diff --git a/packages/vendor/src/pages/settings/seller/_components/seller-general-section.tsx b/packages/vendor/src/pages/settings/seller/_components/seller-general-section.tsxindex 1ed02f7ee..ed0fd1918 100644--- a/packages/vendor/src/pages/settings/seller/_components/seller-general-section.tsx+++ b/packages/vendor/src/pages/settings/seller/_components/seller-general-section.tsx@@ -17,12 +17,7 @@ export const SellerGeneralSection = ({ seller }: StoreGeneralSectionProps) => {<Container className="divide-y p-0"><div className="flex items-center justify-between px-6 py-4"><div className="flex items-center gap-x-4">- <div>- <Heading>{seller.name}</Heading>- <Text className="text-ui-fg-subtle" size="small">- {seller.handle}- </Text>- </div>+ <Heading>{seller.name}</Heading></div><ActionMenugroups={[@@ -62,14 +57,6 @@ export const SellerGeneralSection = ({ seller }: StoreGeneralSectionProps) => {</Text>)}</div>- <div className="text-ui-fg-subtle grid grid-cols-2 px-6 py-4">- <Text size="small" leading="compact" weight="plus">- {t("fields.name")}- </Text>- <Text size="small" leading="compact">- {seller.name || "-"}- </Text>- </div><div className="text-ui-fg-subtle grid grid-cols-2 px-6 py-4"><Text size="small" leading="compact" weight="plus">{t("fields.handle")}