From 8a4880d5ecc14df209a3a2f6696ca93c37044693 Mon Sep 17 00:00:00 2001 From: Matthew Daubney Date: Tue, 13 Oct 2026 11:54:25 +0100 Subject: [PATCH] Fix the Profile page rendering blank (SCR-1) SOURCES was declared after the first render() call, so the page threw before drawing. Co-Authored-By: Claude Sonnet 5.5 --- frontend/js/account.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/js/account.js b/frontend/js/account.js index b12c2f4..69a780b 100644 --- a/frontend/js/account.js +++ b/frontend/js/account.js @@ -6,15 +6,15 @@ import { signedInPage } from "./layout.js"; const root = document.getElementById("avatar-panel"); const messages = document.getElementById("messages"); -let user = await signedInPage("account.html"); -render(); - const SOURCES = { upload: "An image you uploaded.", gravatar: "Your Gravatar, copied to this server.", none: "You haven't set a profile image yet.", }; +let user = await signedInPage("account.html"); +render(); + function say(notice) { replace(messages, notice); }