diff --git a/src/App.js b/src/App.js index 4d3823d..25e7d5d 100644 --- a/src/App.js +++ b/src/App.js @@ -140,7 +140,7 @@ function App() { {/* */} {/* */} {/* */} - {/* */} + {/* */} {/* */} diff --git a/src/components/DistributedData/index.js b/src/components/DistributedData/index.js index 31e81db..8d43eb1 100644 --- a/src/components/DistributedData/index.js +++ b/src/components/DistributedData/index.js @@ -2,7 +2,7 @@ import React from "react"; const DistributedData = ({ items }) => { return ( -
+
{items.map((row, index) => (
{ index + 1 < row.length ? "border-l" : "" } ${item?.className || ""}`} > -

{item.name}

- - {item.number} - + {item.name &&

{item.name}

} + {item.number && ( + + {item.number} + + )}
))}
diff --git a/src/components/UserProfileInfo/index.js b/src/components/UserProfileInfo/index.js index da126c6..4ec66dd 100644 --- a/src/components/UserProfileInfo/index.js +++ b/src/components/UserProfileInfo/index.js @@ -6,10 +6,27 @@ import DateTime from "../DateTime"; const UserProfileInfo = () => { return ( - }, { name: }]]} - /> +
+ {" "} +
+ +
); }; export default UserProfileInfo; + +// , +// number: null, +// }, +// { name: , number: null }, +// ], +// ]} +// />