From 360fb02fdd5bdbb89d38cd00f13d5be62faf2cb9 Mon Sep 17 00:00:00 2001 From: Brian O'Kelley Date: Sat, 3 Jan 2026 14:26:08 -0500 Subject: [PATCH] Fix duplicate const declaration in dashboard.html MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove duplicate `const selectedOrg` declaration at line 2146 that was causing "Cannot declare a const variable twice" JavaScript error, preventing users from logging in. The variable was already declared at line 2126 in the same scope. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .changeset/sixty-ends-ask.md | 2 ++ server/public/dashboard.html | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .changeset/sixty-ends-ask.md diff --git a/.changeset/sixty-ends-ask.md b/.changeset/sixty-ends-ask.md new file mode 100644 index 0000000000..a845151cc8 --- /dev/null +++ b/.changeset/sixty-ends-ask.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/server/public/dashboard.html b/server/public/dashboard.html index 5221a72802..08ceab24c3 100644 --- a/server/public/dashboard.html +++ b/server/public/dashboard.html @@ -2143,7 +2143,6 @@

Create Your Pro renderSelectedOrg(); // Check if org needs profile info (legacy accounts) before showing dashboard - const selectedOrg = orgsWithBilling.find(o => o.id === selectedOrgId) || orgsWithBilling[0]; if (orgNeedsProfileInfo(selectedOrg)) { showProfileModal(selectedOrg); }