Skip to content

Commit 8b4099a

Browse files
committed
fixed double message in SentinelDatabases.tsx
1 parent e2e71e5 commit 8b4099a

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

redisinsight/ui/src/components/base/layout/spacer/spacer.spec.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ const sizeToValue = {
1212
xl: '2rem',
1313
xxl: '2.4rem',
1414
} as const
15+
1516
describe('Spacer', () => {
1617
test('is rendered', () => {
1718
const { container } = render(<Spacer />)

redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases/components/SentinelDatabases/SentinelDatabases.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -268,12 +268,6 @@ const SentinelDatabases = ({
268268
</Col>
269269
)}
270270
/>
271-
{!items.length && message !== notMastersMsg && (
272-
<>
273-
<Spacer size="m" />
274-
<Text size="S">{message}</Text>
275-
</>
276-
)}
277271
{!masters.length && (
278272
<Col centered full>
279273
<Text size="L">{notMastersMsg}</Text>

0 commit comments

Comments
 (0)