mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-09-24 05:12:57 +00:00
remove references to theme
This commit is contained in:
@@ -57,7 +57,6 @@ const Snippetbar = createReactClass({
|
|||||||
getInitialState : function() {
|
getInitialState : function() {
|
||||||
return {
|
return {
|
||||||
renderer : this.props.renderer,
|
renderer : this.props.renderer,
|
||||||
themeSelector : false,
|
|
||||||
snippets : [],
|
snippets : [],
|
||||||
showHistory : false,
|
showHistory : false,
|
||||||
historyExists : false,
|
historyExists : false,
|
||||||
@@ -74,7 +73,6 @@ const Snippetbar = createReactClass({
|
|||||||
|
|
||||||
componentDidUpdate : async function(prevProps, prevState) {
|
componentDidUpdate : async function(prevProps, prevState) {
|
||||||
if(prevProps.renderer != this.props.renderer ||
|
if(prevProps.renderer != this.props.renderer ||
|
||||||
prevProps.theme != this.props.theme ||
|
|
||||||
prevProps.themeBundle != this.props.themeBundle ||
|
prevProps.themeBundle != this.props.themeBundle ||
|
||||||
prevProps.brew.snippets != this.props.brew.snippets) {
|
prevProps.brew.snippets != this.props.brew.snippets) {
|
||||||
this.setState({
|
this.setState({
|
||||||
@@ -228,11 +226,6 @@ const Snippetbar = createReactClass({
|
|||||||
onClick={this.props.formatCode} >
|
onClick={this.props.formatCode} >
|
||||||
<i className='fas fa-wand-magic-sparkles' />
|
<i className='fas fa-wand-magic-sparkles' />
|
||||||
</button>
|
</button>
|
||||||
<button className={`editorTheme ${this.state.themeSelector ? 'active' : ''}`}
|
|
||||||
onClick={this.toggleThemeSelector} >
|
|
||||||
<i className='fas fa-palette' />
|
|
||||||
{this.state.themeSelector && this.renderThemeSelector()}
|
|
||||||
</button>
|
|
||||||
</div></>}
|
</div></>}
|
||||||
|
|
||||||
<div className='tabs'>
|
<div className='tabs'>
|
||||||
|
|||||||
Reference in New Issue
Block a user