Corrected the code in the LineGraph component to ensure the correct display of the sensor title: JIRA Task 107
Reverted changes made in SensorsList.tsx manually due to unsuccessful implementation of passing selectedDataset as a prop. (Please Note: The status of the JIRA Task 103 will be changed to TO DO since the new approach did not work out for now)
Additional Context
JIRA Task 103 : The initial attempt to pass selectedDataset as a prop to SensorsList.tsx and fetch sensor data using the useEffect hook did not achieve the desired outcome. As a result, the code changes were reverted manually to maintain functionality.
JIRA Task 107: The corrected code in LineGraph component now accurately displays the sensor title, resolving the issue identified.
Changes Made
selectedDataset
as a prop. (Please Note: The status of the JIRA Task 103 will be changed to TO DO since the new approach did not work out for now)Additional Context
JIRA Task 103 : The initial attempt to pass
selectedDataset
as a prop toSensorsList.tsx
and fetch sensor data using the useEffect hook did not achieve the desired outcome. As a result, the code changes were reverted manually to maintain functionality.JIRA Task 107: The corrected code in
LineGraph
component now accurately displays the sensor title, resolving the issue identified.