Skip to content

Commit

Permalink
use sentence case
Browse files Browse the repository at this point in the history
  • Loading branch information
gsteenkamp89 committed Nov 23, 2023
1 parent c7d8070 commit 8508aa5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions src/plugins/oSnap/Proposal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function enrichTransactionForDisplay(transaction: Transaction) {
type: 'Transfer NFT',
recipient,
collectable: `${collectable?.tokenName} #${collectable?.id}`,
'collectable address': collectable?.address
'collectible address': collectable?.address
};
}
return { ...commonProperties, type: 'Raw' };
Expand All @@ -87,9 +87,10 @@ function enrichTransactionForDisplay(transaction: Transaction) {
<h4 class="mb-2">Transaction #{{ index + 1 }} — {{ type }}</h4>

<ReadOnly v-for="[key, value] in Object.entries(details)">
<strong class="mr-2 inline-block whitespace-nowrap capitalize">{{
key
}}</strong>
<strong
class="mr-2 inline-block whitespace-nowrap first-letter:capitalize"
>{{ key }}</strong
>
<span class="break-all">{{ value }}</span>
</ReadOnly>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/oSnap/components/ExternalLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ defineProps<{
:href="sanitizeUrl(link)"
target="_blank"
:class="[
'inline-flex w-full items-center gap-2 whitespace-nowrap rounded-3xl border border-skin-border bg-skin-bg px-4 font-semibold capitalize leading-[42px] hover:border-skin-text',
'inline-flex w-full items-center gap-2 whitespace-nowrap rounded-3xl border border-skin-border bg-skin-bg px-4 font-semibold first-letter:capitalize leading-[42px] hover:border-skin-text',
{ 'pointer-events-none': disabled }
]"
rel="noopener noreferrer"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,6 @@ const safeLink = computed(() =>
})
"
>
Add Transaction +
Add transaction +
</BaseButton>
</template>

0 comments on commit 8508aa5

Please sign in to comment.