1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-20 10:58:33 +00:00

fix warnings

This commit is contained in:
Michael An
2019-06-04 17:59:54 +08:00
parent 7bcb942ef6
commit e4fde3d7a8
16 changed files with 53 additions and 53 deletions

View File

@@ -235,7 +235,7 @@ class WikiMarkdownViewer extends React.Component {
return <Loading />;
}
// In dir-column-file repoID is one of props, width is 100%; In wiki-viewer repoID is not props, width isn't 100%
let contentClassName = `${this.props.repoID ? contentClass + ' w-100' : contentClass}`
let contentClassName = `${this.props.repoID ? contentClass + ' w-100' : contentClass}`;
return (
<div ref={this.markdownContainer} className="wiki-page-container" onScroll={this.onScrollHandler.bind(this)}>
<div className={contentClassName}>