We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b15a400 commit a2fb50aCopy full SHA for a2fb50a
browser/components/CodeEditor.js
@@ -1128,10 +1128,11 @@ export default class CodeEditor extends React.Component {
1128
const {
1129
className,
1130
fontSize,
1131
+ fontFamily,
1132
width,
1133
height
1134
} = this.props
- const fontFamily = normalizeEditorFontFamily(this.props.fontFamily)
1135
+ const normalizedFontFamily = normalizeEditorFontFamily(fontFamily)
1136
1137
return (<
1138
div className={
@@ -1140,7 +1141,7 @@ export default class CodeEditor extends React.Component {
1140
1141
ref='root'
1142
tabIndex='-1'
1143
style={{
- fontFamily,
1144
+ normalizedFontFamily,
1145
fontSize: fontSize,
1146
width: width,
1147
height: height
0 commit comments