chore: remove redundant tooltip props

pull/139/head
Xaroz 2 weeks ago
parent b7e8e1dcd3
commit 522ac5da56
  1. 3
      src/features/messages/cards/ContentDetailsCard.tsx
  2. 3
      src/features/messages/cards/GasDetailsCard.tsx
  3. 3
      src/features/messages/cards/IcaDetailsCard.tsx
  4. 3
      src/features/messages/cards/IsmDetailsCard.tsx
  5. 8
      src/features/messages/cards/TransactionCard.tsx

@ -75,9 +75,6 @@ export function ContentDetailsCard({
<Tooltip
id="message-info"
content="Immutable information about the message itself such as its contents."
size={16}
className="hover:scale-105 hover:opacity-70"
data-tooltip-place="top-start"
/>
</div>
</div>

@ -78,9 +78,6 @@ export function GasDetailsCard({ message, blur, igpPayments = {} }: Props) {
<Tooltip
content="Amounts paid to the Interchain Gas Paymaster for message delivery."
id="gas-info"
size={16}
className="hover:scale-105 hover:opacity-70"
data-tooltip-place="top-start"
/>
</div>
</div>

@ -35,9 +35,6 @@ export function IcaDetailsCard({ message: { originDomainId, body }, blur }: Prop
<Tooltip
id="ica-info"
content="Extra information for messages from/to Interchain Accounts."
size={16}
className="hover:scale-105 hover:opacity-70"
data-tooltip-place="top-start"
/>
</div>
</div>

@ -25,9 +25,6 @@ export function IsmDetailsCard({ ismDetails, blur }: Props) {
<Tooltip
id="ism-info"
content="Details about the Interchain Security Modules (ISM) that must verify this message."
size={16}
className="hover:scale-105 hover:opacity-70"
data-tooltip-place="top-start"
/>
</div>
</div>

@ -179,13 +179,7 @@ function TransactionCard({
</div>
<div className="flex items-center pb-1">
<h3 className="mr-2 text-md font-medium text-blue-500">{title}</h3>
<Tooltip
id="transaction-info"
content={helpText}
size={16}
className="hover:scale-105 hover:opacity-70"
data-tooltip-place="top-start"
/>
<Tooltip id="transaction-info" content={helpText} />
</div>
</div>
{children}

Loading…
Cancel
Save