bundles: Remove unnecessary imports of effect-free modules.

Some of these may have once been necessary to enforce an ordering on
cyclic imports, but we’ve fixed all of those now.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2024-02-19 12:04:04 -08:00
committed by Tim Abbott
parent 384e28c8e2
commit 2c799125ea
4 changed files with 25 additions and 35 deletions

View File

@@ -8,7 +8,11 @@ import * as message_store from "./message_store";
import * as narrow from "./narrow";
import * as stream_data from "./stream_data";
if (window.electron_bridge !== undefined) {
export function initialize() {
if (window.electron_bridge === undefined) {
return;
}
window.electron_bridge.on_event("logout", () => {
$("#logout_form").trigger("submit");
});
@@ -64,12 +68,6 @@ if (window.electron_bridge !== undefined) {
error,
});
});
}
export function initialize() {
if (window.electron_bridge === undefined) {
return;
}
$(document).on("click", "#open-self-hosted-billing", (event) => {
event.preventDefault();