File tree Expand file tree Collapse file tree 1 file changed +10
-15
lines changed
redisinsight/ui/src/components/connectivity-error Expand file tree Collapse file tree 1 file changed +10
-15
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import SuspenseLoader from 'uiSrc/components/main-router/components/SuspenseLoad
3
3
4
4
import { Col , FlexItem } from 'uiSrc/components/base/layout/flex'
5
5
import { PrimaryButton } from 'uiSrc/components/base/forms/buttons'
6
- import { Card } from 'uiSrc/components/base/layout'
7
6
8
7
export type ConnectivityErrorProps = {
9
8
onRetry ?: ( ) => void
@@ -16,20 +15,16 @@ const ConnectivityError = ({
16
15
error,
17
16
onRetry,
18
17
} : ConnectivityErrorProps ) => (
19
- < Col >
20
- < Card >
21
- < Col style = { { minHeight : '100vh' } } centered >
22
- { isLoading && < SuspenseLoader /> }
23
- < Col centered gap = "xl" >
24
- < FlexItem data-testid = "connectivity-error-message" > { error } </ FlexItem >
25
- { onRetry && (
26
- < FlexItem >
27
- < PrimaryButton onClick = { onRetry } > Retry</ PrimaryButton >
28
- </ FlexItem >
29
- ) }
30
- </ Col >
31
- </ Col >
32
- </ Card >
18
+ < Col centered >
19
+ { isLoading && < SuspenseLoader /> }
20
+ < Col centered gap = "xl" >
21
+ < FlexItem data-testid = "connectivity-error-message" > { error } </ FlexItem >
22
+ { onRetry && (
23
+ < FlexItem >
24
+ < PrimaryButton onClick = { onRetry } > Retry</ PrimaryButton >
25
+ </ FlexItem >
26
+ ) }
27
+ </ Col >
33
28
</ Col >
34
29
)
35
30
You can’t perform that action at this time.
0 commit comments