feat(#BRU-10) - codeeditor syntax colors for system theme (#1595)

This commit is contained in:
lohit
2024-02-19 17:30:49 +05:30
committed by GitHub
parent fee3416c85
commit e2d754702a
11 changed files with 24 additions and 24 deletions

View File

@@ -19,7 +19,7 @@ const QueryResultPreview = ({
collection,
mode,
disableRunEventListener,
storedTheme
displayedTheme
}) => {
const preferences = useSelector((state) => state.app.preferences);
const dispatch = useDispatch();
@@ -71,7 +71,7 @@ const QueryResultPreview = ({
<CodeEditor
collection={collection}
font={get(preferences, 'font.codeFont', 'default')}
theme={storedTheme}
theme={displayedTheme}
onRun={onRun}
value={formattedData}
mode={mode}