import { useInstanceStatus } from 'hooks/api/getters/useInstanceStatus/useInstanceStatus'; import React, { FC } from 'react'; import { InstanceStatusBar } from 'component/common/InstanceStatus/InstanceStatusBar'; import { ConditionallyRender } from 'component/common/ConditionallyRender/ConditionallyRender'; export const InstanceStatus: FC = ({ children }) => { const { instanceStatus } = useInstanceStatus(); return ( ); }; const InstanceStatusBarMemo = React.memo(InstanceStatusBar);