Skip to content

Commit 3620a4e

Browse files
committed
replace it in page placeholder
1 parent 33e5270 commit 3620a4e

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

redisinsight/ui/src/components/page-placeholder/PagePlaceholder.tsx

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import React from 'react'
2-
import { EuiLoadingLogo, EuiEmptyPrompt } from '@elastic/eui'
3-
import LogoIcon from 'uiSrc/assets/img/logo_small.svg?react'
2+
import { EuiEmptyPrompt } from '@elastic/eui'
3+
import LogoIcon from 'uiSrc/assets/img/logo_small.svg'
44
import { getConfig } from 'uiSrc/config'
5+
import { RiLoadingLogo } from 'uiSrc/components/base/display'
56

67
const riConfig = getConfig()
78

@@ -10,13 +11,7 @@ const PagePlaceholder = () => (
1011
{riConfig.app.env !== 'development' && (
1112
<EuiEmptyPrompt
1213
data-testid="page-placeholder"
13-
icon={
14-
<EuiLoadingLogo
15-
logo={LogoIcon}
16-
size="xl"
17-
style={{ fontSize: '40px' }}
18-
/>
19-
}
14+
icon={<RiLoadingLogo src={LogoIcon} />}
2015
titleSize="s"
2116
/>
2217
)}

0 commit comments

Comments
 (0)