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:
@@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
import { gettext, siteRoot } from '../../utils/constants';
|
||||
|
||||
const {
|
||||
const {
|
||||
fileName, repoID, objID, path
|
||||
} = window.app.pageOptions;
|
||||
|
||||
|
@@ -26,7 +26,7 @@ class FileViewTip extends React.Component {
|
||||
{canDownloadFile && <Download />}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
);
|
||||
}
|
||||
}
|
||||
FileViewTip.propTypes = propTypes;
|
||||
|
Reference in New Issue
Block a user