* converted file to functional component
* refactor: convert class component to functional component
* refactor: convert class component to functional"
* Working on converting the shouldCheckForQueries test to RTL
* Working on converting first test to RTL
* Working on first test for queryAutoRefresh
* Finished Tests, pushing for review
* Cleaned up comments and console logs
Co-authored-by: Josue Lugaro <josuelugaro15@gmail.com>