diff --git a/src/routes/Needs/components/NeedsList/NeedsList.js b/src/routes/Needs/components/NeedsList/NeedsList.js index 0b59344..7c3b9d6 100644 --- a/src/routes/Needs/components/NeedsList/NeedsList.js +++ b/src/routes/Needs/components/NeedsList/NeedsList.js @@ -70,7 +70,7 @@ function createAllData(needs) { `id-${Math.random()}`, need.name, need.amount, - need.createdAt.seconds * 1000, + Date.parse(need.createdAt), need.createdBy, need.location ) diff --git a/src/routes/Needs/components/NewNeedTable/NewNeedTable.js b/src/routes/Needs/components/NewNeedTable/NewNeedTable.js index ce1aac4..4e08669 100644 --- a/src/routes/Needs/components/NewNeedTable/NewNeedTable.js +++ b/src/routes/Needs/components/NewNeedTable/NewNeedTable.js @@ -172,7 +172,7 @@ const EnhancedTableToolbar = (props) => { variant="h6" id="tableTitle" component="div"> - Nutrition + Demands )}