@riosst100/pwa-marketplace 1.0.5 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@riosst100/pwa-marketplace",
3
3
  "author": "riosst100@gmail.com",
4
- "version": "1.0.5",
4
+ "version": "1.0.6",
5
5
  "main": "src/index.js",
6
6
  "pwa-studio": {
7
7
  "targets": {
@@ -22,6 +22,8 @@ import GoogleRecaptcha from '@magento/venia-ui/lib/components/GoogleReCaptcha';
22
22
  import Country from '@magento/venia-ui/lib/components/Country';
23
23
  import Region from '@magento/venia-ui/lib/components/Region';
24
24
  import Postcode from '@magento/venia-ui/lib/components/Postcode';
25
+ import resourceUrl from '@magento/peregrine/lib/util/makeUrl';
26
+ import { Link } from 'react-router-dom';
25
27
 
26
28
  const BecomeSeller = props => {
27
29
  const talonProps = useBecomeSeller({
@@ -286,10 +288,23 @@ const BecomeSeller = props => {
286
288
  field="become_seller_agreement"
287
289
  id="becomeSellerAgreement"
288
290
  validate={isRequired}
289
- label={formatMessage({
290
- id: 'becomeSeller.becomeSellerAgreementText',
291
- defaultMessage: 'I agree the Terms and Condition (Terms and Conditions)'
292
- })}
291
+ label={(
292
+ <>
293
+ {formatMessage({
294
+ id: 'becomeSeller.becomeSellerAgreementText',
295
+ defaultMessage: 'I agree the Terms and Condition'
296
+ })} <span>
297
+ (<a href={'/seller-term-conditions'}>
298
+ <u>
299
+ {formatMessage({
300
+ id: 'becomeSellerPage.termConditions',
301
+ defaultMessage: 'Terms and Conditions'
302
+ })}
303
+ </u>
304
+ </a>)
305
+ </span>
306
+ </>
307
+ )}
293
308
  />
294
309
  </div>
295
310
  <GoogleRecaptcha {...recaptchaWidgetProps} />