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:
parent
11b2b4bf4d
commit
48562cf487
1 changed files with 0 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue