Desktop: Fixes #3449: Fixed style caching

This commit is contained in:
Laurent Cozic
2020-07-14 19:17:25 +00:00
parent b770ffda4d
commit 7f1c25793a
2 changed files with 17 additions and 5 deletions
@@ -2,7 +2,7 @@ import { NoteBodyEditorProps } from '../../../utils/types';
const { buildStyle } = require('lib/theme');
export default function styles(props: NoteBodyEditorProps) {
return buildStyle('AceEditor', props.theme, (theme: any) => {
return buildStyle('CodeMirror', props.theme, (theme: any) => {
return {
root: {
position: 'relative',