Settings: Fix resetting scroll/search when getting a ping (#1106)

This commit is contained in:
V 2023-05-12 01:40:43 +02:00 committed by GitHub
parent 0c54b1fa1d
commit 5c5b009c41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 110 additions and 183 deletions

View file

@ -37,8 +37,6 @@ import { checkForUpdates, update, UpdateLogger } from "./utils/updater";
import { onceReady } from "./webpack";
import { SettingsRouter } from "./webpack/common";
export let Components: any;
async function syncSettings() {
if (
Settings.cloud.settingsSync && // if it's enabled
@ -65,7 +63,6 @@ async function syncSettings() {
async function init() {
await onceReady;
startAllPlugins();
Components = await import("./components");
syncSettings();