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) { handleResize: function(e) {
const hideLhsThreshold = 1000; const hideLhsThreshold = 1000;
const showLhsThreshold = 1000; const showLhsThreshold = 1000;
const hideRhsThreshold = 820;
const showRhsThreshold = 820;
if (this._windowWidth > hideLhsThreshold && window.innerWidth <= hideLhsThreshold) { if (this._windowWidth > hideLhsThreshold && window.innerWidth <= hideLhsThreshold) {
dis.dispatch({ action: 'hide_left_panel' }); dis.dispatch({ action: 'hide_left_panel' });

View file

@ -52,7 +52,10 @@ export default class GroupHeaderButtons extends HeaderButtons {
} else if (payload.action === "view_group") { } else if (payload.action === "view_group") {
this.setPhase(RIGHT_PANEL_PHASES.GroupMemberList); this.setPhase(RIGHT_PANEL_PHASES.GroupMemberList);
} else if (payload.action === "view_group_room") { } else if (payload.action === "view_group_room") {
this.setPhase(RIGHT_PANEL_PHASES.GroupRoomInfo, {groupRoomId: payload.groupRoomId, groupId: payload.groupId}); this.setPhase(
RIGHT_PANEL_PHASES.GroupRoomInfo,
{groupRoomId: payload.groupRoomId, groupId: payload.groupId},
);
} else if (payload.action === "view_group_room_list") { } else if (payload.action === "view_group_room_list") {
this.setPhase(RIGHT_PANEL_PHASES.GroupRoomList); this.setPhase(RIGHT_PANEL_PHASES.GroupRoomList);
} else if (payload.action === "view_group_member_list") { } else if (payload.action === "view_group_member_list") {