mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
use 'const' instead of 'let'
This commit is contained in:
@@ -499,7 +499,7 @@ export default class CodeEditor extends React.Component {
|
||||
fontFamily = _.isString(fontFamily) && fontFamily.length > 0
|
||||
? [fontFamily].concat(defaultEditorFontFamily)
|
||||
: defaultEditorFontFamily
|
||||
let width = this.props.width
|
||||
const width = this.props.width
|
||||
return (
|
||||
<div
|
||||
className={className == null
|
||||
|
||||
Reference in New Issue
Block a user