From 6580c211ffba4c61607e80552405cdb34dccb80c Mon Sep 17 00:00:00 2001 From: Daria Golova Date: Wed, 25 May 2022 15:40:45 +0300 Subject: [PATCH] add props --- src/pages/digitalId/ProfileId.jsx | 6 +++++- src/partials/digitalId/ProfileTableItem.jsx | 12 ++++++------ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/pages/digitalId/ProfileId.jsx b/src/pages/digitalId/ProfileId.jsx index 1703232..5a06620 100644 --- a/src/pages/digitalId/ProfileId.jsx +++ b/src/pages/digitalId/ProfileId.jsx @@ -13,7 +13,9 @@ function Profile () { image: ProfileIcon, value: 'Passport', property: 'Document type', - status: 'Progress' + status: 'Progress', + transactions: '0x7234ABC342342352345', + validatedData: '7234ABC342342352345' }; return ( @@ -44,6 +46,8 @@ function Profile () { value={data.value} property={data.property} status={data.status} + transactions={data.transactions} + validatedData={data.validatedData} /> diff --git a/src/partials/digitalId/ProfileTableItem.jsx b/src/partials/digitalId/ProfileTableItem.jsx index 3ab2af0..19dee16 100644 --- a/src/partials/digitalId/ProfileTableItem.jsx +++ b/src/partials/digitalId/ProfileTableItem.jsx @@ -119,15 +119,15 @@ function ProfileTableItem(props) {

Validate by - 0x7324ABC342342352345 + {props.transactions}

- 0x7324ABC342342352345 + {props.transactions} Transactions ID
- 7324ABC342342352345 + {props.validatedData} Validated data
@@ -146,15 +146,15 @@ function ProfileTableItem(props) {

Validate by - 0x7324ABC342342352345 + {props.transactions}

- 0x7324ABC342342352345 + {props.transactions} Transactions ID
- 7324ABC342342352345 + {props.validatedData} Validated data