Skip to content

Fix duplicate const declaration in dashboard.html#504

Merged
bokelley merged 1 commit into
mainfrom
bokelley/fix-dashboard-const-error
Jan 3, 2026
Merged

Fix duplicate const declaration in dashboard.html#504
bokelley merged 1 commit into
mainfrom
bokelley/fix-dashboard-const-error

Conversation

@bokelley

@bokelley bokelley commented Jan 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Remove duplicate const selectedOrg declaration that was causing "Cannot declare a const variable twice" JavaScript error
  • This prevented users from logging in to the dashboard

Test plan

  • Verified dashboard loads without JavaScript errors
  • Tested login flow via dev-login page
  • All existing tests pass

🤖 Generated with Claude Code

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 <noreply@anthropic.com>
@bokelley bokelley merged commit 6e2c73b into main Jan 3, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant