Skip to content

Commit 3cc3316

Browse files
committed
refactor: simplify condition check for candidatesViewAnchorEl
1 parent 1b90cf2 commit 3cc3316

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/VisualizationView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ export const ChartEditorFC: FC<{ cachedCandidates: DictTable[],
546546
}}>{codeExpl}</MuiMarkdown>
547547

548548
let focusedComponent = [];
549-
if (Boolean(candidatesViewAnchorEl)) {
549+
if (candidatesViewAnchorEl) {
550550
focusedComponent = [
551551
//chartActionItems,
552552
<Box key="derived-dialog" sx={{ margin: "16px", display: "flex", flexDirection: "column", flex: "1", justifyContent: 'flex-start'}}>

0 commit comments

Comments
 (0)