Change buttons according to the type of skin (Weapon or Agent)
This commit is contained in:
@@ -94,8 +94,8 @@ export function SkinDialog({
|
||||
Transaction id: {skin.id}
|
||||
</Typography.Code>
|
||||
<div className="flex gap-2 justify-end">
|
||||
<Button variant="secondary">Apply to both</Button>
|
||||
<Button>Apply to {side}</Button>
|
||||
{skin instanceof WeaponInfo && <Button variant="secondary">Apply to Both</Button>}
|
||||
<Button>Apply{skin instanceof WeaponInfo ? ` to ${side}` : ""}</Button>
|
||||
</div>
|
||||
</div>
|
||||
</Modal.Body>
|
||||
|
||||
Reference in New Issue
Block a user