Skip to content

Commit

Permalink
remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
geekgonecrazy committed Feb 9, 2023
1 parent 3c87fb4 commit eb2f9c4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
2 changes: 0 additions & 2 deletions apps/meteor/client/views/admin/apps/AppMenu.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Box, Icon, Menu, Throbber } from '@rocket.chat/fuselage';
import {
useSetModal,
useMethod,
useEndpoint,
useTranslation,
useRoute,
Expand All @@ -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';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit eb2f9c4

Please sign in to comment.