change player rolenames to player nums
continuous-integration/drone/push Build is passing Details

pull/11/head
maxime.batista 1 year ago
parent 0430c76c51
commit 29356f8554

@ -15,7 +15,7 @@ const ERROR_STYLE: CSSProperties = {
export default function Editor({id, name}: { id: number, name: string }) {
const [style, setStyle] = useState<CSSProperties>({});
const positions = ["PG", "SG", "SF", "PF", "C"]
const positions = ["1", "2", "3", "4", "5"]
const [allies, setAllies] = useState(
positions.map(pos => <PlayerPiece team="allies" key={pos} text={pos}/>)
)

Loading…
Cancel
Save