1
0
Fork 1
mirror of https://github.com/thatmattlove/hyperglass.git synced 2026-04-22 15:58:40 +00:00

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); copyValue = tableToString(queryTarget, data, config);
} }
if (error) {
copyValue = errorMsg;
}
useEffect(() => { useEffect(() => {
!loading && resultsComplete === null && setComplete(index); !loading && resultsComplete === null && setComplete(index);
}, [loading, resultsComplete]); }, [loading, resultsComplete]);