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 <Tooltip
id="message-info" id="message-info"
content="Immutable information about the message itself such as its contents." 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>
</div> </div>

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

@ -35,9 +35,6 @@ export function IcaDetailsCard({ message: { originDomainId, body }, blur }: Prop
<Tooltip <Tooltip
id="ica-info" id="ica-info"
content="Extra information for messages from/to Interchain Accounts." 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>
</div> </div>

@ -25,9 +25,6 @@ export function IsmDetailsCard({ ismDetails, blur }: Props) {
<Tooltip <Tooltip
id="ism-info" id="ism-info"
content="Details about the Interchain Security Modules (ISM) that must verify this message." 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>
</div> </div>

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

Loading…
Cancel
Save