def joint.text
import ezx@1.11.0.0/src/ws/joint.bend as Jointimport Base
import ezx@1.11.0.0/src/ledger/render.bend as Rend
922# the ledger text the lock planner reads: the joint ledger, rendered
923def joint.text(+jj: Joint, +own: Maybe<&2, String>) -> Maybe<&2, String>:
924 match jj:
925 case Lone{}:
926 own
927 case Clash{_why}:
928 own
929 case Joint{mm}:
930 Some{Rend.show(mm)}