Fix redeclaration of const revealedKeys in renderHost()

The variable was declared twice in the same function scope (line 1058
and 1095), causing a SyntaxError that broke the entire App object.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
danny 2026-06-14 13:36:15 +02:00
parent 11b2b4bf4d
commit 48562cf487

View file

@ -1092,7 +1092,6 @@ const App = (() => {
if(resolved) $('hOutcomeBanner').innerHTML=outcomeHTML(state,null)+voteResultsHTML(state);
// Answers — host always sees all; click card to reveal to players
const revealedKeys=state.revealedKeys||[];
const allRevd=ri>=9999;
$('hAnswers').innerHTML=players.length?players.map((p)=>{
const imp=resolved&&isImp(p.pkey,state);