Skip to content

Commit b505d0f

Browse files
authored
Merge pull request #2616 from RedisInsight/fe/bugfix/RI-4919_black_screen_if_cancel_connection
#RI-4919 - [FE] Black screen is displayed if cancel connection
2 parents d78975d + 99ec688 commit b505d0f

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

redisinsight/ui/src/pages/home/components/AddInstanceForm/InstanceFormWrapper.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -483,14 +483,6 @@ const InstanceFormWrapper = (props: Props) => {
483483
}
484484

485485
handleSubmitDatabase(removeEmpty(database))
486-
487-
const databasesCount: number = JSON.parse(
488-
localStorageService.get(BrowserStorageItem.instancesCount) || `${0}`
489-
)
490-
localStorageService.set(
491-
BrowserStorageItem.instancesCount,
492-
databasesCount + 1
493-
)
494486
}
495487

496488
const handleConnectionFormSubmit = (values: DbConnectionInfo) => {

0 commit comments

Comments
 (0)