fix(card-sorting): hide activity notifications in spectator mode
The activity feed showing "player X is moving cards" is unnecessary in observation mode since spectators can see the actions happening on the game board. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
3b141e0d37
commit
5cca279687
|
|
@ -1909,8 +1909,8 @@ export function PlayingPhaseDrag() {
|
||||||
})}
|
})}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Activity Feed (collaborative mode only) */}
|
{/* Activity Feed (collaborative mode only, hidden for spectators) */}
|
||||||
{state.gameMode === 'collaborative' && activityFeed.length > 0 && (
|
{state.gameMode === 'collaborative' && !isSpectating && activityFeed.length > 0 && (
|
||||||
<div
|
<div
|
||||||
className={css({
|
className={css({
|
||||||
position: 'fixed',
|
position: 'fixed',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue