Skip to content

Commit

Permalink
Fixed a place where filteredFileLines should also be updated
Browse files Browse the repository at this point in the history
  • Loading branch information
AsbjoernJC committed Mar 20, 2024
1 parent ba781c2 commit 51d6bfe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions TimeTrace/src/pages/MappingsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ function MappingsPage() {
setMapping(new Map(events.map((event) => [event, ""])));
} else {
setFileLines([]);
setFilteredFileLines([]);
setEvents([]);
setMapping(new Map(events.map((event) => [event, ""])));
}
Expand Down

0 comments on commit 51d6bfe

Please sign in to comment.