File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
redisinsight/ui/src/components/database-overview Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -62,14 +62,12 @@ const DatabaseOverview = (props: Props) => {
62
62
} )
63
63
} , [ windowDimensions , metricsProps , modulesProps ] )
64
64
65
- const RediStackLogo = ( ) => {
66
- return (
67
- < div className = { styles . RediStackLogoWrapper } >
68
- < EuiIcon type = { theme === Theme . Dark ? RediStackDark : RediStackLight } className = { styles . redistackIcon } />
69
- < EuiIcon type = { theme === Theme . Dark ? RediStackDarkLogo : RediStackLightLogo } className = { styles . redistackLogoIcon } />
70
- </ div >
71
- )
72
- }
65
+ const RediStackLogo = (
66
+ < div className = { styles . RediStackLogoWrapper } >
67
+ < EuiIcon type = { theme === Theme . Dark ? RediStackDark : RediStackLight } className = { styles . redistackIcon } />
68
+ < EuiIcon type = { theme === Theme . Dark ? RediStackDarkLogo : RediStackLightLogo } className = { styles . redistackLogoIcon } />
69
+ </ div >
70
+ )
73
71
74
72
const getTooltipContent = ( metric : IMetric ) => {
75
73
if ( ! metric . children ?. length ) {
@@ -168,7 +166,7 @@ const DatabaseOverview = (props: Props) => {
168
166
{ isRediStack
169
167
? (
170
168
< DatabaseListModules
171
- content = { isRediStack ? RediStackLogo ( ) : undefined }
169
+ content = { isRediStack ? RediStackLogo : undefined }
172
170
modules = { modulesProps }
173
171
withoutStyles
174
172
/>
You can’t perform that action at this time.
0 commit comments