diff --git a/src/Explorer/Tabs/Tabs.tsx b/src/Explorer/Tabs/Tabs.tsx index bcd867756..01812106b 100644 --- a/src/Explorer/Tabs/Tabs.tsx +++ b/src/Explorer/Tabs/Tabs.tsx @@ -7,10 +7,10 @@ import { SplashScreen } from "Explorer/SplashScreen/SplashScreen"; import { ConnectTab } from "Explorer/Tabs/ConnectTab"; import { PostgresConnectTab } from "Explorer/Tabs/PostgresConnectTab"; import { QuickstartTab } from "Explorer/Tabs/QuickstartTab"; +import { userContext } from "UserContext"; import { useTeachingBubble } from "hooks/useTeachingBubble"; import ko from "knockout"; import React, { MutableRefObject, useEffect, useRef, useState } from "react"; -import { userContext } from "UserContext"; import loadingIcon from "../../../images/circular_loader_black_16x16.gif"; import errorIcon from "../../../images/close-black.svg"; import { useObservable } from "../../hooks/useObservable"; @@ -102,22 +102,20 @@ function TabNav({ tab, active, tabKind }: { tab?: Tab; active: boolean; tabKind? ref={focusTab} > - -
- - {useObservable(tab?.isExecutionError || ko.observable(false)) && } - {useObservable(tab?.isExecuting || ko.observable(false)) && ( - Loading - )} - - {useObservable(tab?.tabTitle || ko.observable(ReactTabKind[tabKind]))} - {tabKind !== ReactTabKind.Home && ( - - - +
+ + {useObservable(tab?.isExecutionError || ko.observable(false)) && } + {useObservable(tab?.isExecuting || ko.observable(false)) && ( + Loading )} -
-
+ + {useObservable(tab?.tabTitle || ko.observable(ReactTabKind[tabKind]))} + {tabKind !== ReactTabKind.Home && ( + + + + )} +
);