# React expenses tracker project - problem with empty array

**URL:** <https://forum.codewithmosh.com/t/react-expenses-tracker-project-problem-with-empty-array/29751>\
**Category:** Uncategorized\
**Created:** [November 3, 2024, 8:09pm UTC](https://forum.codewithmosh.com/t/react-expenses-tracker-project-problem-with-empty-array/29751 "2024-11-03T20:09:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yoir](https://avatars.discourse-cdn.com/v4/letter/y/3da27b/32.png) [@yoir](https://forum.codewithmosh.com/u/yoir)\
**Post date:** [November 3, 2024, 8:09pm UTC](https://forum.codewithmosh.com/t/react-expenses-tracker-project-problem-with-empty-array/29751/1 "2024-11-03T20:09:24Z")

</div>

in the end of mosh’s expenses tracker he completed the project with the expenses array being statically populated in the app.tsx. when i try populating with an empty array i get several ts errors. did anyone try, successfully, to solve this?
