We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 489f616 commit 98d4bcbCopy full SHA for 98d4bcb
src/containers/Tenant/QueryEditor/QueryResult/QueryResult.js
@@ -28,9 +28,7 @@ const resultOptions = [
28
];
29
30
function QueryResult(props) {
31
- const [activeSection, setActiveSection] = useState(
32
- props.result ? resultOptionsIds.result : resultOptionsIds.stats,
33
- );
+ const [activeSection, setActiveSection] = useState(resultOptionsIds.result);
34
const isFullscreen = useSelector((state) => state.fullscreen);
35
const dispatch = useDispatch();
36
@@ -111,7 +109,9 @@ function QueryResult(props) {
111
109
</Fullscreen>
112
110
)}
113
</React.Fragment>
114
- ) : <span>{error?.data ?? error}</span>;
+ ) : (
+ <span>{error?.data ?? error}</span>
+ );
115
};
116
117
return (
0 commit comments