consolidate the "gave" actions on a projecct

This commit is contained in:
2023-07-09 08:31:11 -06:00
parent 81dd6eb595
commit d9d6096275

View File

@@ -65,17 +65,15 @@
</button>
</div>
<div>
<button
@click="openDialog({ name: 'you', did: activeDid })"
class="block text-center text-lg font-bold uppercase bg-blue-600 text-white px-2 py-3 rounded-md mb-8"
class="text-center text-lg font-bold uppercase bg-blue-600 text-white px-2 py-3 rounded-md"
>
I gave...
</button>
<div>
<p>... or choose a contact who gave:</p>
... or choose a contact who gave:
<!-- similar contact selection code is in multiple places -->
<div class="px-4">
<button
v-for="contact in allContacts"
:key="contact.did"
@@ -89,7 +87,6 @@
someone not specified
</button>
</div>
</div>
<GiftedDialog
ref="customDialog"