---
# System prepended metadata

title: 'BBB: Conditional rendering of lower part'

---

# BBB: Conditional rendering of lower part


| User = | Swap created | Swap completed/error |
| -------- | -------- | -------- |
| offerer, NOT receiver |   swap ID + copy-btn, status offerer, status receiver, check-receiver-status-btn, swap status, cancel-button (SCREENSHOT 1) | swap ID + copy-btn, status offerer, status receiver, swap status (SCREENSHOT 4) |
| receiver, NOT offerer | Confirm question, status offerer, big-pink confirm btn, cancel-button (as text-link below pink btn) (SCREENSHOT 2) | swap ID + copy-btn, status offerer, status receiver, swap status (SCREENSHOT 4) |
| offerer AND receiver (self-swap) | *Doesn't exist: after clicking 'confirm' on creating swap, this swap goes directly to a complete/error state* | swap ID + copy-btn, status offerer, *(NO status receiver!)*, swap status (SCREENSHOT 4 but w/o receiver status) |
| just spectator (OR not connected) | swap ID + copy-btn, status offerer, status receiver, swap status (SCREENSHOT 3) | swap ID + copy-btn, status offerer, status receiver, swap status (SCREENSHOT 4) |


SCREENSHOT 1
![SCREENSHOT 1](https://i.imgur.com/APfB5Zo.png)


SCREENSHOT 2
![SCREENSHOT 2](https://i.imgur.com/TkdT93Q.png)

SCREENSHOT 3
![SCREENSHOT 3](https://i.imgur.com/k4kB2Jt.png)

SCREENSHOT 4
![SCREENSHOT 4](https://i.imgur.com/o3wz2o3.png)
