Skip to content

Commit

Permalink
Revert "Use self-referenced imports in web"
Browse files Browse the repository at this point in the history
This reverts commit 12d5037.
  • Loading branch information
nisargjhaveri committed Aug 31, 2024
1 parent b0fe7f6 commit 5db8c3d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
11 changes: 5 additions & 6 deletions src/web/components/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@ import { Link } from '@fluentui/react/lib/Link';
import { Toggle } from '@fluentui/react/lib/Toggle';
import { PrimaryButton } from '@fluentui/react/lib/Button';
import { NeutralColors } from '@fluentui/theme';

import { RemoteAdbDevice } from 'remote-adb/client';
import { UsbDeviceManager } from 'remote-adb/client';
import { ServerConnection } from 'remote-adb/client';

import { Device } from './device';
import { Status } from './status';

import { RemoteAdbDevice } from '../../client/RemoteAdbDevice';
import { UsbDeviceManager } from '../../client/UsbDeviceManager';
import { ServerConnection } from '../../client/ServerConnection';

import { initializeIcons } from '@fluentui/font-icons-mdl2';
import { Status } from './status';
initializeIcons();

const enum StoredItemKeys {
Expand Down
8 changes: 4 additions & 4 deletions src/web/components/device.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import { Icon } from '@fluentui/react/lib/Icon';
import { MessageBar, MessageBarType } from '@fluentui/react/lib/MessageBar';
import { DefaultButton, PrimaryButton } from '@fluentui/react/lib/Button';
import { NeutralColors } from '@fluentui/theme';
import bytes from 'bytes';

import logger from 'remote-adb/logger';
import { RemoteAdbDevice } from 'remote-adb/client';
import { ServerConnection } from 'remote-adb/client';
import logger from '../../common/logger';
import { RemoteAdbDevice } from '../../client/RemoteAdbDevice';
import { ServerConnection } from '../../client/ServerConnection';

import * as bytes from 'bytes';

function CommunicationSpeed(props: {device: RemoteAdbDevice}) {
let device: RemoteAdbDevice = props.device;
Expand Down
2 changes: 1 addition & 1 deletion src/web/components/status.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { MessageBar, MessageBarType } from '@fluentui/react/lib/MessageBar';
import { DefaultButton, MessageBarButton, PrimaryButton } from '@fluentui/react/lib/Button';
import { Separator } from '@fluentui/react/lib/Separator';

import { ServerStatus, ServerConnection } from 'remote-adb/client';
import { ServerStatus, ServerConnection } from '../../client/ServerConnection';


function LoginDialog(props: {showDialog: boolean, setShowDialog: Dispatch<SetStateAction<Boolean>>, onLoginSuccess: () => void, serverConnection: ServerConnection}) {
Expand Down

0 comments on commit 5db8c3d

Please sign in to comment.