Skip to content

Commit 2ffa2ce

Browse files
committed
refactor(ui): cleanup unnecessary styles
re #RI-7437
1 parent 83bcab1 commit 2ffa2ce

File tree

2 files changed

+2
-74
lines changed

2 files changed

+2
-74
lines changed

redisinsight/ui/src/pages/slow-log/components/SlowLogTable/SlowLogTable.tsx

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import {
1212
} from 'uiSrc/components/base/layout/table'
1313

1414
import { FormatedDate, RiTooltip } from 'uiSrc/components'
15-
import styles from '../styles.module.scss'
1615

1716
import { SlowLog } from 'apiSrc/modules/slow-log/models'
1817
import { StyledTableWrapper } from './SlowLogTable.styles'
@@ -65,14 +64,8 @@ const SlowLogTable = (props: Props) => {
6564
const command = getValue() as string
6665

6766
return (
68-
<RiTooltip
69-
position="bottom"
70-
content={command}
71-
anchorClassName={styles.commandTooltip}
72-
>
73-
<span className={styles.commandText} data-testid="command-value">
74-
{command}
75-
</span>
67+
<RiTooltip position="bottom" content={command}>
68+
<span data-testid="command-value">{command}</span>
7669
</RiTooltip>
7770
)
7871
},

redisinsight/ui/src/pages/slow-log/components/styles.module.scss

Lines changed: 0 additions & 65 deletions
This file was deleted.

0 commit comments

Comments
 (0)