diff --git a/src/components/Documents/DocumentVersionList.jsx b/src/components/Documents/DocumentVersionList.jsx index 5c01b9c7..ea1bdc13 100644 --- a/src/components/Documents/DocumentVersionList.jsx +++ b/src/components/Documents/DocumentVersionList.jsx @@ -60,7 +60,7 @@ const DocumentVersionList = ({
{getDocuementsStatus(currentDoc.isVerified)} - + File Size: {currentDoc.fileSize} Kb
@@ -160,17 +160,14 @@ const DocumentVersionList = ({ } return ( -
-
-
-
+
{sortedVersions.map((document, index) => (
- {/* Left Side: Document Details */} +
{getDocuementsStatus(document.isVerified)} - + File Size: {document.fileSize} Kb
@@ -284,10 +281,7 @@ const DocumentVersionList = ({
))}
-
-
-
); }; -export default DocumentVersionList; \ No newline at end of file +export default DocumentVersionList; diff --git a/src/components/Documents/ViewDocument.jsx b/src/components/Documents/ViewDocument.jsx index 8270bb08..6405a3ed 100644 --- a/src/components/Documents/ViewDocument.jsx +++ b/src/components/Documents/ViewDocument.jsx @@ -1,4 +1,3 @@ -// ViewDocument.jsx import React, { useState } from "react"; import { useDocumentDetails, @@ -173,4 +172,4 @@ const ViewDocument = () => { ); }; -export default ViewDocument; +export default ViewDocument; \ No newline at end of file