File tree Expand file tree Collapse file tree
packages/components/src/components/modals Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -193,11 +193,9 @@ export default function SuccessPage(_props: SuccessPageProps) {
193193 < Button
194194 type = "primary"
195195 href = { `https://twitter.com/intent/tweet?text=${ encodeURIComponent (
196- `I've just bought @devhub_app${
197- authData . plan . type === 'team'
198- ? ' for my team!'
199- : " and it's awesome!"
200- } https://devhubapp.com`,
196+ `I just bought @devhub_app${
197+ authData . plan . type === 'team' ? ' for my team!' : ''
198+ } https://devhubapp.com/`,
201199 ) } `}
202200 target = "_blank"
203201 className = "mb-2 mr-2"
Original file line number Diff line number Diff line change @@ -188,11 +188,9 @@ export function SubscribedModal(props: SubscribedModalProps) {
188188 onPress = { ( ) => {
189189 Browser . openURLOnNewTab (
190190 `https://twitter.com/intent/tweet?text=${ encodeURIComponent (
191- `I've just bought @devhub_app${
192- plan . type === 'team'
193- ? ' for my team!'
194- : " and it's awesome!"
195- } https://devhubapp.com`,
191+ `I just bought @devhub_app${
192+ plan . type === 'team' ? ' for my team' : ''
193+ } https://devhubapp.com/`,
196194 ) } `,
197195 )
198196 } }
You can’t perform that action at this time.
0 commit comments