diff --git a/src/client/src/apps/MainRoute/widgets/status-connection/StatusButton.tsx b/src/client/src/apps/MainRoute/widgets/status-connection/StatusButton.tsx index cc84d24236..dccbbfe3db 100644 --- a/src/client/src/apps/MainRoute/widgets/status-connection/StatusButton.tsx +++ b/src/client/src/apps/MainRoute/widgets/status-connection/StatusButton.tsx @@ -11,7 +11,7 @@ import { ServiceList, } from './styled' import Service from './Service' -import FooterVersion from '../footer-version' +import { FooterVersion } from 'rt-components' import { usePopUpMenu } from 'rt-util' interface Props { diff --git a/src/client/src/apps/MainRoute/widgets/footer-version/FooterVersion.tsx b/src/client/src/rt-components/footer-version/FooterVersion.tsx similarity index 100% rename from src/client/src/apps/MainRoute/widgets/footer-version/FooterVersion.tsx rename to src/client/src/rt-components/footer-version/FooterVersion.tsx diff --git a/src/client/src/apps/MainRoute/widgets/footer-version/index.ts b/src/client/src/rt-components/footer-version/index.ts similarity index 100% rename from src/client/src/apps/MainRoute/widgets/footer-version/index.ts rename to src/client/src/rt-components/footer-version/index.ts diff --git a/src/client/src/rt-components/index.ts b/src/client/src/rt-components/index.ts index 5832a727de..d269cd0c15 100644 --- a/src/client/src/rt-components/index.ts +++ b/src/client/src/rt-components/index.ts @@ -9,3 +9,4 @@ export { Timer } from './timer' export { RouteWrapper, RouteStyle } from './route-wrapper' export { default as Popup } from './popup' export { default as Tooltip } from './tooltip' +export { default as FooterVersion } from './footer-version' diff --git a/src/client/src/rt-platforms/openfin/components/OpenFinStatusConnection/StatusDisplay.tsx b/src/client/src/rt-platforms/openfin/components/OpenFinStatusConnection/StatusDisplay.tsx index 9332c6830a..6ea2ae8233 100644 --- a/src/client/src/rt-platforms/openfin/components/OpenFinStatusConnection/StatusDisplay.tsx +++ b/src/client/src/rt-platforms/openfin/components/OpenFinStatusConnection/StatusDisplay.tsx @@ -1,5 +1,5 @@ import React, { useCallback, SyntheticEvent } from 'react' -import { Flex } from 'rt-components' +import { Flex, FooterVersion } from 'rt-components' import { ConnectionInfo } from 'rt-system' import { ServiceStatus } from 'rt-types' import Service from './Service' @@ -34,6 +34,7 @@ const StatusDisplay: React.FC = ({ connectionStatus: { url }, services }) ))} + )