mirror of
https://github.com/usebruno/bruno.git
synced 2025-06-24 22:11:38 +02:00
fix: system theme in dark mode (#1823)
This commit is contained in:
parent
cdbb15f33e
commit
2b0ad29b93
@ -27,7 +27,7 @@ const GraphQLRequestPane = ({ item, collection, leftPaneWidth, onSchemaLoad, tog
|
|||||||
const variables = item.draft
|
const variables = item.draft
|
||||||
? get(item, 'draft.request.body.graphql.variables')
|
? get(item, 'draft.request.body.graphql.variables')
|
||||||
: get(item, 'request.body.graphql.variables');
|
: get(item, 'request.body.graphql.variables');
|
||||||
const { storedTheme } = useTheme();
|
const { displayedTheme } = useTheme();
|
||||||
const [schema, setSchema] = useState(null);
|
const [schema, setSchema] = useState(null);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
@ -61,7 +61,7 @@ const GraphQLRequestPane = ({ item, collection, leftPaneWidth, onSchemaLoad, tog
|
|||||||
return (
|
return (
|
||||||
<QueryEditor
|
<QueryEditor
|
||||||
collection={collection}
|
collection={collection}
|
||||||
theme={storedTheme}
|
theme={displayedTheme}
|
||||||
schema={schema}
|
schema={schema}
|
||||||
width={leftPaneWidth}
|
width={leftPaneWidth}
|
||||||
onSave={onSave}
|
onSave={onSave}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user