Skip to content

Commit

Permalink
feat: show seller landing page if you dont have a seller account and …
Browse files Browse the repository at this point in the history
…click on sell on boson button of the header (#943)
  • Loading branch information
albertfolch-redeemeum authored Nov 28, 2023
1 parent 8a371f0 commit a269f2e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,9 @@ export const HeaderComponent = forwardRef<HTMLElement, Props>(
[UrlParameters.sellerPage]: DEFAULT_SELLER_PAGE
});
}
if (!isSeller) {
return BosonRoutes.Sell;
}
return SellerCenterRoutes.CreateProduct;
}, [isSeller, hasSellerOffers]);
const CTA = useMemo(() => {
Expand Down

0 comments on commit a269f2e

Please sign in to comment.