Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
lengyel-arpad85 committed Dec 17, 2024
1 parent aad1e05 commit 62fa477
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions frontend/app/components/compositions/ToolPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,21 +38,15 @@ const ButtonConfig = ({ config }: { config: ElementConfigType }) => {
: config.buttonTooltip != '0' &&
!!config.buttonDescriptionText.length
}
className='button-tippy-wrapper'
className="button-tippy-wrapper"
content={<span>{config.buttonDescriptionText}</span>}
>
<button
type='button'
className='wm_button'
>
<button type="button" className="wm_button">
{config.buttonText || '?'}
</button>
</Tippy>
) : (
<button
type='button'
className='wm_button'
>
<button type="button" className="wm_button">
{config.buttonText || '?'}
</button>
)}
Expand Down

0 comments on commit 62fa477

Please sign in to comment.