diff --git a/apps/meteor/client/views/admin/apps/AppDetailsPage/tabs/AppStatus/AppStatus.tsx b/apps/meteor/client/views/admin/apps/AppDetailsPage/tabs/AppStatus/AppStatus.tsx index 7d9fc99cf950..868ecb7b56b3 100644 --- a/apps/meteor/client/views/admin/apps/AppDetailsPage/tabs/AppStatus/AppStatus.tsx +++ b/apps/meteor/client/views/admin/apps/AppDetailsPage/tabs/AppStatus/AppStatus.tsx @@ -2,13 +2,12 @@ import type { App } from '@rocket.chat/core-typings'; import { Box, Button, Icon, Throbber, Tag, Margins } from '@rocket.chat/fuselage'; import { useSafely } from '@rocket.chat/fuselage-hooks'; import type { TranslationKey } from '@rocket.chat/ui-contexts'; -import { useSetModal, useMethod, useTranslation } from '@rocket.chat/ui-contexts'; +import { useSetModal, useTranslation } from '@rocket.chat/ui-contexts'; import type { ReactElement } from 'react'; import React, { useCallback, useState, memo, Fragment } from 'react'; import { Apps } from '../../../../../../../app/apps/client/orchestrator'; import AppPermissionsReviewModal from '../../../AppPermissionsReviewModal'; -import CloudLoginModal from '../../../CloudLoginModal'; import IframeModal from '../../../IframeModal'; import { appButtonProps, appMultiStatusProps, handleAPIError, handleInstallError } from '../../../helpers'; import { marketplaceActions } from '../../../helpers/marketplaceActions'; diff --git a/apps/meteor/client/views/admin/apps/AppMenu.js b/apps/meteor/client/views/admin/apps/AppMenu.js index d0bbcf48d8fc..ffd3425b5975 100644 --- a/apps/meteor/client/views/admin/apps/AppMenu.js +++ b/apps/meteor/client/views/admin/apps/AppMenu.js @@ -1,7 +1,6 @@ import { Box, Icon, Menu, Throbber } from '@rocket.chat/fuselage'; import { useSetModal, - useMethod, useEndpoint, useTranslation, useRoute, @@ -15,7 +14,6 @@ import semver from 'semver'; import { Apps } from '../../../../app/apps/client/orchestrator'; import WarningModal from '../../../components/WarningModal'; import AppPermissionsReviewModal from './AppPermissionsReviewModal'; -import CloudLoginModal from './CloudLoginModal'; import IframeModal from './IframeModal'; import { appEnabledStatuses, handleAPIError, appButtonProps, warnEnableDisableApp } from './helpers'; import { marketplaceActions } from './helpers/marketplaceActions'; diff --git a/apps/meteor/client/views/admin/cloud/modals/RegisterWorkspaceTokenModal.tsx b/apps/meteor/client/views/admin/cloud/modals/RegisterWorkspaceTokenModal.tsx index 135587f7440c..363bf81cda7c 100644 --- a/apps/meteor/client/views/admin/cloud/modals/RegisterWorkspaceTokenModal.tsx +++ b/apps/meteor/client/views/admin/cloud/modals/RegisterWorkspaceTokenModal.tsx @@ -16,7 +16,6 @@ const RegisterWorkspaceTokenModal = ({ onClose, onStatusChange, isConnectedToClo const t = useTranslation(); const dispatchToastMessage = useToastMessageDispatch(); const connectWorkspace = useMethod('cloud:connectWorkspace'); - const syncWorkspace = useMethod('cloud:syncWorkspace'); const [token, setToken] = useState(''); const [processing, setProcessing] = useState(false);