I have a react application that sets values after the user searches for a sales report. The sales report contains information that I\'m hoping to store in the main state.