Skip to content

Commit

Permalink
fix: Remove hovers for txhash (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
jinoosss authored and dongwon8247 committed Aug 9, 2023
1 parent 732610d commit 7ab323a
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 67 deletions.
13 changes: 0 additions & 13 deletions src/components/view/datatable/account-detail/account-detail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,6 @@ interface Props {
address: string;
}

const TOOLTIP_TX_HASH = (
<>
Transctions have been temporarily <br />
assigned with values in <b>[height_order]</b>
<br />
format, as the tx hashing function is
<br />
still under development on Gnoland.
<br />
</>
);

const TOOLTIP_TYPE = (
<>
Hover on each value to <br />
Expand Down Expand Up @@ -131,7 +119,6 @@ export const AccountDetailDatatable = ({address}: Props) => {
height={data.height}
/>
))
.tooltip(TOOLTIP_TX_HASH)
.build();
};

Expand Down
13 changes: 0 additions & 13 deletions src/components/view/datatable/block-detail/block-detail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,6 @@ interface Props {
height: string | number;
}

const TOOLTIP_TX_HASH = (
<>
Transctions have been temporarily <br />
assigned with values in <b>[height_order]</b>
<br />
format, as the tx hashing function is
<br />
still under development on Gnoland.
<br />
</>
);

const TOOLTIP_TYPE = (
<>
Hover on each value to <br />
Expand Down Expand Up @@ -100,7 +88,6 @@ export const BlockDetailDatatable = ({height}: Props) => {
.width(210)
.colorName('blue')
.renderOption((value, data) => <DatatableItem.TxHash txHash={value} status={data.status} />)
.tooltip(TOOLTIP_TX_HASH)
.build();
};

Expand Down
13 changes: 0 additions & 13 deletions src/components/view/datatable/realm-detail/realm-detail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,6 @@ interface Props {
pkgPath: string;
}

const TOOLTIP_TX_HASH = (
<>
Transctions have been temporarily <br />
assigned with values in <b>[height_order]</b>
<br />
format, as the tx hashing function is
<br />
still under development on Gnoland.
<br />
</>
);

const TOOLTIP_TYPE = (
<>
Hover on each value to <br />
Expand Down Expand Up @@ -98,7 +86,6 @@ export const RealmDetailDatatable = ({pkgPath}: Props) => {
.width(210)
.colorName('blue')
.renderOption((value, data) => <DatatableItem.TxHash txHash={value} status={data.status} />)
.tooltip(TOOLTIP_TX_HASH)
.build();
};

Expand Down
13 changes: 0 additions & 13 deletions src/components/view/datatable/token-detail/token-detail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,6 @@ interface Props {
path: string[] | any;
}

const TOOLTIP_TX_HASH = (
<>
Transctions have been temporarily <br />
assigned with values in <b>[height_order]</b>
<br />
format, as the tx hashing function is
<br />
still under development on Gnoland.
<br />
</>
);

const TOOLTIP_TYPE = (
<>
Hover on each value to <br />
Expand Down Expand Up @@ -99,7 +87,6 @@ export const TokenDetailDatatable = ({path}: Props) => {
.width(210)
.colorName('blue')
.renderOption((value, data) => <DatatableItem.TxHash txHash={value} status={data.status} />)
.tooltip(TOOLTIP_TX_HASH)
.build();
};

Expand Down
15 changes: 0 additions & 15 deletions src/components/view/datatable/transaction/transaction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import React, {useEffect, useState} from 'react';
import Datatable, {DatatableOption} from '@/components/ui/datatable';
import Link from 'next/link';
import {DatatableItem} from '..';
import styled from 'styled-components';
import usePageQuery from '@/common/hooks/use-page-query';
Expand All @@ -14,21 +13,8 @@ import {ValueWithDenomType} from '@/types/data-type';
import theme from '@/styles/theme';
import {Button} from '@/components/ui/button';
import {eachMedia} from '@/common/hooks/use-media';
import {scrollbarStyle} from '@/common/hooks/use-scroll-bar';
import {StatusKeyType} from '@/common/utils';

const TOOLTIP_TX_HASH = (
<>
Transctions have been temporarily <br />
assigned with values in <b>[height_order]</b>
<br />
format, as the tx hashing function is
<br />
still under development on Gnoland.
<br />
</>
);

const TOOLTIP_TYPE = (
<>
Hover on each value to <br />
Expand Down Expand Up @@ -128,7 +114,6 @@ export const TransactionDatatable = () => {
height={data.height}
/>
))
.tooltip(TOOLTIP_TX_HASH)
.build();
};

Expand Down

0 comments on commit 7ab323a

Please sign in to comment.