mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
lint: Fix many no-unused-vars eslint rule violations.
These have been carefully audited by tabbott to ensure they are unlikely to cause regressions.
This commit is contained in:
@@ -370,9 +370,8 @@ exports.update_dom_with_unread_counts = function (counts) {
|
||||
counts.mentioned_message_count);
|
||||
};
|
||||
|
||||
exports.rename_stream = function (sub, new_name) {
|
||||
// TODO: we don't actually need new_name, since the sub
|
||||
// will have been updated
|
||||
exports.rename_stream = function (sub) {
|
||||
// The sub object is expected to already have the updated name
|
||||
build_stream_sidebar_row(sub);
|
||||
exports.build_stream_list(); // big hammer
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user