fix(card-sorting): remove remaining reveal numbers references
Fix TypeScript build errors by removing leftover references to the revealNumbers function and numbersRevealed property that were missed in the initial refactoring. Changes: - Remove revealNumbers from PlayingPhaseDrag context destructuring - Remove numbers revealed warning section from ResultsPhase 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
6ec980e41d
commit
15c53ea4eb
|
|
@ -877,7 +877,6 @@ export function PlayingPhaseDrag() {
|
|||
state,
|
||||
insertCard,
|
||||
checkSolution,
|
||||
revealNumbers,
|
||||
goToSetup,
|
||||
updateCardPositions,
|
||||
canCheckSolution,
|
||||
|
|
|
|||
|
|
@ -509,24 +509,6 @@ export function ResultsPhase() {
|
|||
</div>
|
||||
</div>
|
||||
|
||||
{/* Warning if numbers revealed */}
|
||||
{scoreBreakdown.numbersRevealed && (
|
||||
<div
|
||||
className={css({
|
||||
padding: '12px 16px',
|
||||
background: 'rgba(251, 146, 60, 0.2)',
|
||||
border: '2px solid rgba(251, 146, 60, 0.4)',
|
||||
borderRadius: '12px',
|
||||
fontSize: '14px',
|
||||
fontWeight: '600',
|
||||
color: '#9a3412',
|
||||
textAlign: 'center',
|
||||
})}
|
||||
>
|
||||
👁️ Numbers were revealed during play
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Action Buttons */}
|
||||
<div
|
||||
className={css({
|
||||
|
|
|
|||
Loading…
Reference in New Issue