mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fixing style issue caused by build changes
This commit is contained in:
@@ -54,7 +54,7 @@ export default class CodePreview extends React.Component {
|
||||
}
|
||||
|
||||
handleReceivedCode(data) {
|
||||
const parsed = syntaxHightlighting.formatCode(this.state.lang, data, this.props.filename)
|
||||
const parsed = syntaxHightlighting.formatCode(this.state.lang, data, this.props.filename);
|
||||
this.setState({code: parsed, loading: false, success: true});
|
||||
}
|
||||
|
||||
|
||||
@@ -9,9 +9,6 @@ import marked from 'marked';
|
||||
import katex from 'katex';
|
||||
import 'katex/dist/katex.min.css';
|
||||
|
||||
import Constants from 'utils/constants.jsx';
|
||||
const HighlightedLanguages = Constants.HighlightedLanguages;
|
||||
|
||||
function markdownImageLoaded(image) {
|
||||
image.style.height = 'auto';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user