I need to get the filteredRecords data in the state when an onClick event occurs
I need to get the filteredRecords data in the state when an onClick event occurs