Update chatSidebarBackground to use the same structure as startingSidebarTab and move init hook into the main entrypoint

This commit is contained in:
Oliver 2025-12-06 23:17:37 -07:00
parent 321a4ab0eb
commit 8ca82c2cc1
3 changed files with 29 additions and 34 deletions

View file

@ -3,3 +3,10 @@ import "./hooks/init.mjs";
import "./hooks/ready.mjs";
import "./hooks/renderSidebar.mjs";
import "./hooks/renderUserConfig.mjs";
import { chatSidebarBackground } from "./settings/chatSidebarBackground.mjs";
import { startingSidebarTab } from "./settings/startingSidebarTab.mjs";
Hooks.once(`init`, () => {
chatSidebarBackground();
startingSidebarTab();
});