Multiple Queries were being fired and Log table time range is incorrect
Addressing the footer multiple query call in this PR
Explanation
If a user opens console and halts in the home page for a while the time range passed for fetch functions are incorrect and the Count fetch functions is fired twice for due to the duplication of timeRange object
Solution
The cleaning of the log store is done by a useEffect callback which executes the function after the component is rendered. This is changed so that the cleaning of the logsStore is done before the query is fired
Time Range duplication and multiple query for footer addressed. Mutiple query and time range duplication and for event Graph will be solved in a future PR
Issue
Multiple Queries were being fired and Log table time range is incorrect
Addressing the footer multiple query call in this PR
Explanation If a user opens console and halts in the home page for a while the time range passed for fetch functions are incorrect and the Count fetch functions is fired twice for due to the duplication of timeRange object
Solution The cleaning of the log store is done by a useEffect callback which executes the function after the component is rendered. This is changed so that the cleaning of the logsStore is done before the query is fired