Fix preferred player name resolution
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -150,11 +150,11 @@ const players = [
|
||||
makePlayer('p11', 'Echo', 26, 32, 31),
|
||||
makePlayer('p12', 'Zenith', 28, 30, 35),
|
||||
]
|
||||
players[1].preferredPlayerIds = ['p1']
|
||||
players[1].preferredPlayerIds = ['p12']
|
||||
players[4].preferredPlayerIds = ['p1']
|
||||
players[0].avoidedPlayerIds = ['p3']
|
||||
|
||||
export const demoRegistrations: Registration[] = players.map((player, index) => ({
|
||||
export const demoRegistrations: Registration[] = players.slice(0, -1).map((player, index) => ({
|
||||
id: `reg-${index + 1}`,
|
||||
player,
|
||||
status: index < 9 ? 'going' : index < 11 ? 'maybe' : 'not_going',
|
||||
|
||||
Reference in New Issue
Block a user