remove ref

main
raboid 6 years ago committed by Michael Fix
parent 2ae529e404
commit 10f2c3e390

@ -282,13 +282,7 @@ class Editor extends React.Component {
return ( return (
<div className="editor"> <div className="editor">
<Toolbar> <Toolbar>
<Themes <Themes key={theme} onChange={this.updateSetting} theme={theme} highlights={highlights} />
ref={this.themes}
key={theme}
onChange={this.updateSetting}
theme={theme}
highlights={highlights}
/>
<Dropdown <Dropdown
icon={languageIcon} icon={languageIcon}
selected={ selected={

Loading…
Cancel
Save