Skip to content

Commit

Permalink
fix: headings in block view
Browse files Browse the repository at this point in the history
  • Loading branch information
slowbackspace committed Oct 23, 2023
1 parent f570cc3 commit b304266
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/commands/block/views/block.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ export const getBlockView = (
fields: [
{
type: 'mrkdwn',
text: `*Timestamp:\n${formatUnixTimestamp(block.time)}`,
text: `*Timestamp*\n${formatUnixTimestamp(block.time)}`,
},
{
type: 'mrkdwn',
text: `*Height:\n${block.height}`,
text: `*Height*\n${block.height}`,
},
],
},
Expand All @@ -41,11 +41,11 @@ export const getBlockView = (
fields: [
{
type: 'mrkdwn',
text: `*Slot:\n${block.slot}`,
text: `*Slot*\n${block.slot}`,
},
{
type: 'mrkdwn',
text: `*Epoch/Slot:\n${block.epoch}/${block.epoch_slot}`,
text: `*Epoch/Slot*\n${block.epoch}/${block.epoch_slot}`,
},
],
},
Expand All @@ -54,11 +54,11 @@ export const getBlockView = (
fields: [
{
type: 'mrkdwn',
text: `*Confirmations:\n${block.confirmations}`,
text: `*Confirmations*\n${block.confirmations}`,
},
{
type: 'mrkdwn',
text: `*Transactions:\n${block.tx_count}`,
text: `*Transactions*\n${block.tx_count}`,
},
],
},
Expand All @@ -67,11 +67,11 @@ export const getBlockView = (
fields: [
{
type: 'mrkdwn',
text: `*Pool:\n\`${block.slot_leader}\``,
text: `*Pool*\n\`${block.slot_leader}\``,
},
{
type: 'mrkdwn',
text: `*Size:\n${block.size} Bytes`,
text: `*Size*\n${block.size} Bytes`,
},
],
},
Expand All @@ -80,11 +80,11 @@ export const getBlockView = (
fields: [
{
type: 'mrkdwn',
text: `*Total Output:\n${lovelaceToAda(block.output ?? 0)} ADA`,
text: `*Total Output*\n${lovelaceToAda(block.output ?? 0)} ADA`,
},
{
type: 'mrkdwn',
text: `*Total Fee:\n${lovelaceToAda(block.fees ?? 0)} ADA`,
text: `*Total Fee*\n${lovelaceToAda(block.fees ?? 0)} ADA`,
},
],
},
Expand Down

0 comments on commit b304266

Please sign in to comment.