File tree 1 file changed +22
-25
lines changed
apps/builder/app/builder/features/topbar
1 file changed +22
-25
lines changed Original file line number Diff line number Diff line change @@ -665,31 +665,28 @@ const Content = (props: {
665
665
</ Link >
666
666
</ Flex >
667
667
</ PanelBanner >
668
- ) : (
669
- canAddDomain === false && (
670
- < PanelBanner >
671
- < Text variant = "regularBold" > Free domains limit reached</ Text >
672
- < Text variant = "regular" >
673
- You have reached the limit of { maxDomainsAllowedPerUser } custom
674
- domains on your account.{ " " }
675
- < Text variant = "regularBold" inline >
676
- Upgrade to a Pro account
677
- </ Text > { " " }
678
- to add unlimited domains and publish to each domain
679
- individually.
680
- </ Text >
681
- < Link
682
- className = { buttonStyle ( { color : "gradient" } ) }
683
- color = "contrast"
684
- underline = "none"
685
- href = "https://webstudio.is/pricing"
686
- target = "_blank"
687
- >
688
- Upgrade
689
- </ Link >
690
- </ PanelBanner >
691
- )
692
- ) }
668
+ ) : canAddDomain === false ? (
669
+ < PanelBanner >
670
+ < Text variant = "regularBold" > Free domains limit reached</ Text >
671
+ < Text variant = "regular" >
672
+ You have reached the limit of { maxDomainsAllowedPerUser } custom
673
+ domains on your account.{ " " }
674
+ < Text variant = "regularBold" inline >
675
+ Upgrade to a Pro account
676
+ </ Text > { " " }
677
+ to add unlimited domains and publish to each domain individually.
678
+ </ Text >
679
+ < Link
680
+ className = { buttonStyle ( { color : "gradient" } ) }
681
+ color = "contrast"
682
+ underline = "none"
683
+ href = "https://webstudio.is/pricing"
684
+ target = "_blank"
685
+ >
686
+ Upgrade
687
+ </ Link >
688
+ </ PanelBanner >
689
+ ) : null }
693
690
< RadioGroup name = "publishDomain" >
694
691
< ChangeProjectDomain
695
692
refresh = { refreshProject }
You can’t perform that action at this time.
0 commit comments