Commit bbe6ab50 by David Kaltschmidt

Fix Queryfield metrics field missing

parent b2f497b1
......@@ -135,7 +135,7 @@ class QueryField extends React.Component<any, any> {
if (!this.state.metrics) {
return;
}
setPrismTokens(this.props.language, 'metrics', this.state.metrics);
setPrismTokens(this.props.prismLanguage, 'metrics', this.state.metrics);
// Trigger re-render
window.requestAnimationFrame(() => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment