-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: preview of new products for new sellers #1078
fix: preview of new products for new sellers #1078
Conversation
Deploying interface with
|
Latest commit: |
172e194
|
Status: | ✅ Deploy successful! |
Preview URL: | https://917c8766.interface-a9d.pages.dev |
Branch Preview URL: | https://1075-preview-of-a-product-be.interface-a9d.pages.dev |
if (!offer.seller) { | ||
return ( | ||
<> | ||
<Loading /> | ||
<BosonButton | ||
variant="accentInverted" | ||
type="button" | ||
onClick={handleClosePreview} | ||
> | ||
Back to overview | ||
</BosonButton> | ||
</> | ||
); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
part of the fix
const { seller: currentAssistant, lens: lensProfiles } = | ||
useWaitForCreatedSeller(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
part of the fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
the preview was not available because it was crashing, now it doesnt crash
I also fixed some styled components warnings