Skip to content

Commit 7de2983

Browse files
committed
fic SentinelDatabasesResultPage.tsx
1 parent 901d5ec commit 7de2983

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

redisinsight/ui/src/pages/autodiscover-sentinel/sentinel-databases-result/SentinelDatabasesResultPage.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import validationErrors from 'uiSrc/constants/validationErrors'
3131
import { SentinelInputFieldType } from 'uiSrc/components/input-field-sentinel/InputFieldSentinel'
3232

3333
import { IconButton, PrimaryButton } from 'uiSrc/components/base/forms/buttons'
34-
import { InfoIcon } from 'uiSrc/components/base/icons'
34+
import { InfoIcon, CopyIcon } from 'uiSrc/components/base/icons'
3535
import SentinelDatabasesResult from './components'
3636

3737
import styles from '../styles.module.scss'
@@ -53,7 +53,7 @@ const SentinelDatabasesResultPage = () => {
5353

5454
useEffect(() => {
5555
if (!masters.length) {
56-
// history.push(Pages.home)
56+
history.push(Pages.home)
5757
}
5858

5959
dispatch(resetLoadedSentinel(LoadedSentinel.MastersAdded))
@@ -208,7 +208,7 @@ const SentinelDatabasesResultPage = () => {
208208
anchorClassName="copyPublicEndpointTooltip"
209209
>
210210
<IconButton
211-
icon={IconButton}
211+
icon={CopyIcon}
212212
aria-label="Copy public endpoint"
213213
className="copyPublicEndpointBtn"
214214
onClick={() => handleCopy(text)}

0 commit comments

Comments
 (0)