Make error message copyable

This commit is contained in:
checktheroads 2020-07-23 09:20:15 -07:00
parent 8c4bf5fbc2
commit 13101b9e52

View file

@ -148,6 +148,10 @@ const Result = forwardRef(
copyValue = tableToString(queryTarget, data, config);
}
if (error) {
copyValue = errorMsg;
}
useEffect(() => {
!loading && resultsComplete === null && setComplete(index);
}, [loading, resultsComplete]);