use verb in post modal titles
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 35s Details

This commit is contained in:
Ladd Hoffman 2024-03-23 15:13:58 -05:00
parent 041580f79d
commit f0180a5c1f
1 changed files with 2 additions and 2 deletions

View File

@ -140,9 +140,9 @@ function WorkRequests({
return (
<>
<AddPostModal title="Work Request" show={showRequestModal} setShow={setShowRequestModal} onSubmit={onSubmitRequest} />
<AddPostModal title={`${verb} Request`} show={showRequestModal} setShow={setShowRequestModal} onSubmit={onSubmitRequest} />
<AddPostModal title="Work Evidence" show={showEvidenceModal} setShow={setShowEvidenceModal} onSubmit={onSubmitEvidence} />
<ViewPostModal title="Work Request" show={showViewRequestModal} setShow={setShowViewRequestModal} content={viewRequestContent} />
<ViewPostModal title={`${verb} Request`} show={showViewRequestModal} setShow={setShowViewRequestModal} content={viewRequestContent} />
<div>
{`Price: ${price} ETH`}
</div>