1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-11 20:22:36 +03:00

Appease the linter

Mid-PR cleanup.
This commit is contained in:
Travis Ralston
2019-12-05 23:58:19 -07:00
parent 75c32a2f02
commit a24bbdffd0
2 changed files with 4 additions and 3 deletions

View File

@@ -1690,8 +1690,6 @@ export default createReactClass({
handleResize: function(e) {
const hideLhsThreshold = 1000;
const showLhsThreshold = 1000;
const hideRhsThreshold = 820;
const showRhsThreshold = 820;
if (this._windowWidth > hideLhsThreshold && window.innerWidth <= hideLhsThreshold) {
dis.dispatch({ action: 'hide_left_panel' });