Describe the bug
When editing a calorie tracker entry and other entries are present, sometimes the entries become rearranged. They should stay in the same order.
To Reproduce
Steps to reproduce the behavior:
Go to dashboard
Click on the 'edit' pencil of an existing entry
Enter a value and save
See error
Expected behavior
The entries should stay sorted by the date they were added.
Desktop (please complete the following information):
Describe the bug When editing a calorie tracker entry and other entries are present, sometimes the entries become rearranged. They should stay in the same order.
To Reproduce Steps to reproduce the behavior:
Expected behavior The entries should stay sorted by the date they were added.
Desktop (please complete the following information):