1
0
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:
Michael An
2024-07-18 11:58:42 +08:00
committed by GitHub
parent c5d02b33b2
commit 67210c7363
450 changed files with 2425 additions and 2385 deletions

View File

@@ -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),