Store data on blockchain
@@ -293,7 +292,7 @@ const Profile = observer (() => {
{/* Buttons */}
-
+
)
-}
+})
export default Validate;
diff --git a/src/pages/digitalId/ValidationLog.jsx b/src/pages/digitalId/ValidationLog.jsx
index 75d24b2..a1190b2 100644
--- a/src/pages/digitalId/ValidationLog.jsx
+++ b/src/pages/digitalId/ValidationLog.jsx
@@ -1,115 +1,14 @@
-import React, { useState } from 'react';
+import React, {useState} from 'react';
import ValidateRoadMap from "../../partials/validationlog/ValidateRoadMap";
+import {transactionsStore} from "../../store/transactionsStore";
+import {observer} from "mobx-react-lite";
import Sidebar from '../../partials/Sidebar';
import Header from '../../partials/Header';
-import User05 from "../../images/user-28-05.jpg";
-import User08 from "../../images/user-28-08.jpg";
-import User09 from "../../images/user-28-09.jpg";
-import User06 from "../../images/user-28-06.jpg";
-import User03 from "../../images/user-28-03.jpg";
-import User01 from "../../images/user-28-01.jpg";
-function ValidationLog () {
+const ValidationLog = observer(()=>{
const [sidebarOpen, setSidebarOpen] = useState(false);
- const logItems = [
- {
- id: '20',
- name: 'Today',
- data: '7234ABC342342352345',
- usersImges: [
- {
- size: 24,
- img: User06,
- imgId: "249"
- },
- {
- size: 24,
- img: User08,
- imgId: "212"
- },
- {
- size: 24,
- img: User09,
- imgId: "217"
- },
- {
- size: 24,
- img: User05,
- imgId: "276"
- },
- ],
- items: [
- {
- dataSeason: '7234ABC342342352345',
- id: '434',
- text: 'Second name',
- checked: true
- },
- {
- dataSeason: '7234ABC342342352345',
- id: '476',
- text: 'First name by',
- checked: true
- },
- {
- dataSeason: '7234ABC342342352345',
- id: '422',
- text: 'Document name by',
- checked: true
- },
- ]
- },
- {
- id: '30',
- name: 'Last Week',
- data: '7234ABC342342352345',
- usersImges: [
- {
- size: 24,
- img: User06,
- imgId: "145"
- },
- {
- size: 24,
- img: User08,
- imgId: "182"
- },
- {
- size: 24,
- img: User09,
- imgId: "154"
- },
- {
- size: 24,
- img: User05,
- imgId: "114"
- },
- ],
- items: [
- {
- dataSeason: '7234ABC342342352345',
- id: '654',
- text: 'Gender name by',
- checked: true
- },
- {
- dataSeason: '7234ABC342342352345',
- id: '617',
- text: 'Second name Updated',
- checked: false
- },
- {
- dataSeason: '7234ABC342342352345',
- id: '643',
- text: 'Gender name by',
- checked: true
- },
- ]
- },
- ]
-
return (
{/* Sidebar */}
@@ -129,61 +28,9 @@ function ValidationLog () {
{/* PostsID */}
- {logItems.map(item => {
- return
+ {transactionsStore.transactionsData.map(item=>{
+ return
})}
- {/* Post */}
-
-
-
-
Even earlier
-
-
-
-
- {/* Avatars */}
-
-
·
-
-
- {/* List */}
-
- {/* List item */}
- -
-
-
-
-
Product V1 - Early Access
-
- Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
-
- {/* List item */}
- -
-
-
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
-
-
-
-
-
@@ -191,6 +38,6 @@ function ValidationLog () {