Switch GraphQL variables code editor to json linting (#4756)

This commit is contained in:
Clay Powers
2025-05-26 07:25:11 -04:00
committed by GitHub
parent 4ac2c4ac34
commit 6b122d7262

View File

@@ -64,7 +64,7 @@ const GraphQLVariables = ({ variables, item, collection }) => {
font={get(preferences, 'font.codeFont', 'default')}
fontSize={get(preferences, 'font.codeFontSize')}
onEdit={onEdit}
mode="javascript"
mode="application/json"
onRun={onRun}
onSave={onSave}
enableVariableHighlighting={true}