0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-02 15:02:38 +00:00

Pass current editor theme to SnippetBar as prop

This commit is contained in:
G.Ambatte
2023-04-02 16:17:50 +12:00
parent 977cbeed43
commit 5e9b451e29

View File

@@ -334,6 +334,7 @@ const Editor = createClass({
undo={this.undo} undo={this.undo}
redo={this.redo} redo={this.redo}
historySize={this.historySize()} historySize={this.historySize()}
currentEditorTheme={this.state.editorTheme}
updateEditorTheme={this.updateEditorTheme} /> updateEditorTheme={this.updateEditorTheme} />
{this.renderEditor()} {this.renderEditor()}