diff --git a/react-app/src/dashboard/Payments.js b/react-app/src/dashboard/Payments.js index d51493b..0faff7c 100644 --- a/react-app/src/dashboard/Payments.js +++ b/react-app/src/dashboard/Payments.js @@ -75,58 +75,58 @@ export default function Products() {

- - - - - - - {columns.map((column) => ( - - {column.label} - - ))} - - - - {rows - .slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage) - .map((row) => { - return ( - - {columns.map((column) => { - const value = row[column.id]; - return ( - - {column.format && typeof value === 'number' - ? column.format(value) - : value} - - ); - })} - - ); - })} - -
-
- -
- + + + + + + {columns.map((column) => ( + + {column.label} + + ))} + + + + {rows + .slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage) + .map((row) => { + return ( + + {columns.map((column) => { + const value = row[column.id]; + return ( + + {column.format && typeof value === 'number'? column.format(value) : value} + + ); + })} + + ); + })} + +
+
+ +
@@ -135,10 +135,9 @@ export default function Products() { } const columns = [ - { id: 'id', label: 'ID', minWidth: 100 }, - { id: 'status', label: 'Status', minWidth: 120 }, - { id: 'type', label: 'Type', minWidth: 120 }, - { id: 'created', label: 'Created', minWidth: 220 }, - { id: 'amount', label: 'Amount', minWidth: 150 }, - { id: 'pspReference', label: 'PSP Reference', minWidth: 200 }, + { id: 'id', label: 'ID', minWidth: 100 }, + { id: 'status', label: 'Status', minWidth: 120 }, + { id: 'type', label: 'Type', minWidth: 120 }, + { id: 'created', label: 'Created', minWidth: 220 }, + { id: 'amount', label: 'Amount', minWidth: 150 }, ]; \ No newline at end of file