mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-10 11:21:29 +00:00
Fix eslint warnings (#5635)
* 01 fix eslint warnings * fix code warnings * fix code warnings * fix code warnings * fix code warnings * fix code warnings
This commit is contained in:
@@ -33,7 +33,7 @@ class LibDecryptDialog extends React.Component {
|
||||
});
|
||||
|
||||
e.preventDefault();
|
||||
}
|
||||
};
|
||||
|
||||
handleKeyPress = (e) => {
|
||||
if (e.key == 'Enter') {
|
||||
@@ -46,7 +46,7 @@ class LibDecryptDialog extends React.Component {
|
||||
password: e.target.value,
|
||||
showError: false
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
toggle = () => {
|
||||
window.location.href = siteRoot;
|
||||
|
Reference in New Issue
Block a user