fixed side for bonus cards

This commit is contained in:
Djeeberjr 2021-11-15 19:31:15 +01:00
parent 39df588c7a
commit cfbb358115

View File

@ -37,9 +37,9 @@ const AllDecks: React.FC = () => {
</div> </div>
<div className="flex"> <div className="flex">
<CardComp card={retakesConfig.ctBonus} side={Side.T} <CardComp card={retakesConfig.ctBonus} side={Side.CT}
onChange={(newCard)=>setRetakesConfig(new RetakesConfig({...retakesConfig,...{ctBonus:newCard}}))} /> onChange={(newCard)=>setRetakesConfig(new RetakesConfig({...retakesConfig,...{ctBonus:newCard}}))} />
<CardComp card={retakesConfig.tBonus} side={Side.CT} <CardComp card={retakesConfig.tBonus} side={Side.T}
onChange={(newCard)=>setRetakesConfig(new RetakesConfig({...retakesConfig,...{tBonus:newCard}}))} /> onChange={(newCard)=>setRetakesConfig(new RetakesConfig({...retakesConfig,...{tBonus:newCard}}))} />
</div> </div>
</div> </div>