mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-24 04:48:03 +00:00
fix code format (#6365)
This commit is contained in:
@@ -20,7 +20,7 @@ class FileHistory extends React.Component {
|
||||
};
|
||||
}
|
||||
|
||||
setDiffContent = (newMarkdownContent, oldMarkdownContent)=> {
|
||||
setDiffContent = (newMarkdownContent, oldMarkdownContent) => {
|
||||
this.setState({
|
||||
renderingContent: false,
|
||||
newMarkdownContent: newMarkdownContent,
|
||||
@@ -29,8 +29,8 @@ class FileHistory extends React.Component {
|
||||
};
|
||||
|
||||
|
||||
onHistoryItemClick = (item, preItem)=> {
|
||||
this.setState({renderingContent: true});
|
||||
onHistoryItemClick = (item, preItem) => {
|
||||
this.setState({ renderingContent: true });
|
||||
seafileAPI.getFileRevision(historyRepoID, item.commit_id, item.path).then((res) => {
|
||||
axios.all([
|
||||
seafileAPI.getFileContent(res.data),
|
||||
|
Reference in New Issue
Block a user