mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-01-24 10:39:40 -06:00
update statevalues to use undefined
This commit is contained in:
@@ -5,7 +5,7 @@ const useHardwareMonitorsFetch = ({ monitorId, dateRange }) => {
|
||||
|
||||
// Abort early if creating monitor
|
||||
if (!monitorId) {
|
||||
return { monitor: null, isLoading: false, networkError: null };
|
||||
return { monitor: undefined, isLoading: false, networkError: undefined };
|
||||
}
|
||||
const [isLoading, setIsLoading] = useState(true);
|
||||
const [networkError, setNetworkError] = useState(false);
|
||||
|
||||
Reference in New Issue
Block a user