1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-16 15:19:06 +00:00

[eslint] updated eslintrc and improved the code (#4702)

This commit is contained in:
llj
2020-11-02 13:56:35 +08:00
committed by GitHub
parent ed3e5fc416
commit 04f29704b3
337 changed files with 1586 additions and 1585 deletions

View File

@@ -1,7 +1,7 @@
import React from 'react';
import { gettext, siteRoot } from '../../utils/constants';
const {
const {
fileName, repoID, objID, path
} = window.app.pageOptions;

View File

@@ -26,7 +26,7 @@ class FileViewTip extends React.Component {
{canDownloadFile && <Download />}
</div>
</div>
);
);
}
}
FileViewTip.propTypes = propTypes;