Skip to content

Commit 097988c

Browse files
committed
#RI-6342 - remove unused refs
1 parent 40655a1 commit 097988c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

redisinsight/ui/src/pages/home/components/database-panel-dialog/DatabasePanelDialog.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { useEffect, useRef, useState } from 'react'
1+
import React, { useEffect, useState } from 'react'
22
import { useDispatch, useSelector } from 'react-redux'
33
import {
44
EuiFlexGroup,
@@ -61,9 +61,6 @@ const DatabasePanelDialog = (props: Props) => {
6161
const { data: sentinelMasters } = useSelector(sentinelSelector)
6262
const { action, dbConnection } = useSelector(appRedirectionSelector)
6363

64-
const typeSelectedRef = useRef(typeSelected)
65-
const connectionTypeRef = useRef(connectionType)
66-
6764
const dispatch = useDispatch()
6865

6966
useEffect(() => {

0 commit comments

Comments
 (0)