Skip to content

Commit 9aa9c35

Browse files
authored
Merge pull request #25 from lidofinance/feature/si-1881-hide-hint-in-overview
Remove hints on overview page
2 parents da9268f + 25574d0 commit 9aa9c35

File tree

3 files changed

+4
-15
lines changed

3 files changed

+4
-15
lines changed

features/overview/components/general/address-section/address-section.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { useVaultOverview } from 'features/overview/contexts';
22

33
import { AddressBadge } from 'shared/components';
4-
import { Text, Tooltip, Question } from '@lidofinance/lido-ui';
4+
import { Text } from '@lidofinance/lido-ui';
55
import { NodeOperator, Title, Wrapper } from './styles';
66

77
export const AddressSection = () => {
@@ -17,9 +17,6 @@ export const AddressSection = () => {
1717
<Text color="secondary" size="xxs">
1818
Node operator
1919
</Text>
20-
<Tooltip title={'Node operator'}>
21-
<Question />
22-
</Tooltip>
2320
</Title>
2421
<AddressBadge weight={400} address={nodeOperator} />
2522
</NodeOperator>

features/overview/shared/overview-item/overview-item.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { FC } from 'react';
22

3-
import { Button, Question, Text, Tooltip } from '@lidofinance/lido-ui';
3+
import { Text, Button } from '@lidofinance/lido-ui';
44
import { ItemWrapper, Title } from './styles';
55
import { useRouter } from 'next/router';
66
import { useVaultInfo } from 'features/overview/contexts';
@@ -25,9 +25,6 @@ export const OverviewItem: FC<ItemProps> = (props) => {
2525
<Text color="secondary" size="xxs">
2626
{title}
2727
</Text>
28-
<Tooltip title="Lorem ipsum">
29-
<Question />
30-
</Tooltip>
3128
</Title>
3229
<Text size="lg" color={contentColor} strong>
3330
{content ?? '-'}

features/overview/shared/overview-section/overview-section.tsx

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { FC, PropsWithChildren, ReactNode } from 'react';
22

3-
import { Block, Text, Tooltip, Question } from '@lidofinance/lido-ui';
3+
import { Block, Text } from '@lidofinance/lido-ui';
44
import { Content, ContentWrapper, Title } from './styles';
55

66
export interface OverviewSectionProps {
@@ -12,7 +12,7 @@ export interface OverviewSectionProps {
1212
export const OverviewSection: FC<PropsWithChildren<OverviewSectionProps>> = (
1313
props,
1414
) => {
15-
const { title, titleTooltip, titleContent = null, children } = props;
15+
const { title, titleContent = null, children } = props;
1616

1717
return (
1818
<Block>
@@ -23,11 +23,6 @@ export const OverviewSection: FC<PropsWithChildren<OverviewSectionProps>> = (
2323
<Text size="lg" strong>
2424
{title}
2525
</Text>
26-
{!!titleTooltip && (
27-
<Tooltip title={titleTooltip}>
28-
<Question />
29-
</Tooltip>
30-
)}
3126
</Title>
3227
)}
3328
{titleContent}

0 commit comments

Comments
 (0)