Skip to content

Commit ab61a48

Browse files
Merge pull request #1401 from RedisInsight/feature/bugfix
#RI-3798 - Last connected DB is highlighted after turning back to List of DBs
2 parents 315ea06 + dea67ac commit ab61a48

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

redisinsight/ui/src/pages/home/HomePage.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ const HomePage = () => {
6262
dispatch(resetInstancesRedisCluster())
6363
dispatch(resetSubscriptionsRedisCloud())
6464
dispatch(fetchCreateRedisButtonsAction())
65+
66+
return (() => {
67+
dispatch(setEditedInstance(null))
68+
})
6569
}, [])
6670

6771
useEffect(() => {

0 commit comments

Comments
 (0)