Skip to content

Commit

Permalink
fix action preview extension names
Browse files Browse the repository at this point in the history
  • Loading branch information
michavie committed May 29, 2024
1 parent ef3e7b0 commit 150931e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/shared/ui/ActionPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from 'react'
import { clsx } from 'clsx'
import BigNumber from 'bignumber.js'
import { _AppLogo } from './_AppLogo'
import { toExtensionName } from '../helpers'
import { ProposalAction } from '@peerme/core-ts'
import { ExtensionConfig, ExtensionInfo } from '../types'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
Expand Down Expand Up @@ -41,7 +42,7 @@ export const ActionPreview = (props: Props) => {
className="inline-block w-10 sm:w-12 md:w-14"
size={50}
/>
<span className="inline-block ml-1">{props.extension.Name}</span>
<span className="inline-block ml-1">{toExtensionName(props.config, props.extension)}</span>
</a>
</h3>
{!!scInfo?.ActionPreview && (
Expand Down

0 comments on commit 150931e

Please sign in to comment.