mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-07-28 04:08:05 +00:00
src/components: Move ClipboardIcon and ExternalLinkIcon from utils.
See https://github.com/pybricks/pybricks-code/pull/1321#pullrequestreview-1190431986
This commit is contained in:
committed by
David Lechner
parent
986cb7c184
commit
0f02c64800
@@ -15,8 +15,8 @@ import {
|
||||
pybricksCopyright,
|
||||
pybricksWebsiteUrl,
|
||||
} from '../app/constants';
|
||||
import ExternalLinkIcon from '../components/ExternalLinkIcon';
|
||||
import LicenseDialog from '../licenses/LicenseDialog';
|
||||
import ExternalLinkIcon from '../utils/ExternalLinkIcon';
|
||||
import { useI18n } from './i18n';
|
||||
import icon from './icon.svg';
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@ import './index.scss';
|
||||
import { AnchorButton, Button, Intent } from '@blueprintjs/core';
|
||||
import React from 'react';
|
||||
import { appName, pybricksBluetoothTroubleshootingUrl } from '../../app/constants';
|
||||
import ExternalLinkIcon from '../../components/ExternalLinkIcon';
|
||||
import type { CreateToast } from '../../toasterTypes';
|
||||
import ExternalLinkIcon from '../../utils/ExternalLinkIcon';
|
||||
import { useI18n } from './i18n';
|
||||
|
||||
type NoHubProps = {
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
import { AnchorButton, Intent } from '@blueprintjs/core';
|
||||
import React from 'react';
|
||||
import { pybricksUsbDfuTroubleshootingUrl } from '../../app/constants';
|
||||
import ExternalLinkIcon from '../../components/ExternalLinkIcon';
|
||||
import type { CreateToast } from '../../toasterTypes';
|
||||
import ExternalLinkIcon from '../../utils/ExternalLinkIcon';
|
||||
import { isLinux, isWindows } from '../../utils/os';
|
||||
import { useI18n } from './i18n';
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@ import {
|
||||
pybricksUsbDfuWindowsDriverInstallUrl,
|
||||
pybricksUsbLinuxUdevRulesUrl,
|
||||
} from '../../app/constants';
|
||||
import ExternalLinkIcon from '../../components/ExternalLinkIcon';
|
||||
import { Hub, hubHasBluetoothButton, hubHasUSB } from '../../components/hubPicker';
|
||||
import ExternalLinkIcon from '../../utils/ExternalLinkIcon';
|
||||
import { isLinux, isWindows } from '../../utils/os';
|
||||
import { useI18n } from './i18n';
|
||||
|
||||
|
||||
@@ -15,11 +15,11 @@ import {
|
||||
legoRegisteredTrademark,
|
||||
pybricksBleFirmwareRestoreVideoUrl,
|
||||
} from '../../app/constants';
|
||||
import ExternalLinkIcon from '../../components/ExternalLinkIcon';
|
||||
import { hubHasUSB } from '../../components/hubPicker';
|
||||
import { HubPicker } from '../../components/hubPicker/HubPicker';
|
||||
import { useHubPickerSelectedHub } from '../../components/hubPicker/hooks';
|
||||
import { useSelector } from '../../reducers';
|
||||
import ExternalLinkIcon from '../../utils/ExternalLinkIcon';
|
||||
import { firmwareRestoreOfficialDfu } from '../actions';
|
||||
import BootloaderInstructions from '../bootloaderInstructions/BootloaderInstructions';
|
||||
import { firmwareRestoreOfficialDialogHide } from './actions';
|
||||
|
||||
@@ -21,12 +21,12 @@ import {
|
||||
pybricksSupportUrl,
|
||||
} from '../app/constants';
|
||||
import { Button } from '../components/Button';
|
||||
import ExternalLinkIcon from '../components/ExternalLinkIcon';
|
||||
import HelpButton from '../components/HelpButton';
|
||||
import { firmwareInstallPybricks } from '../firmware/actions';
|
||||
import { firmwareRestoreOfficialDialogShow } from '../firmware/restoreOfficialDialog/actions';
|
||||
import { pseudolocalize } from '../i18n';
|
||||
import { useSelector } from '../reducers';
|
||||
import ExternalLinkIcon from '../utils/ExternalLinkIcon';
|
||||
import { isMacOS } from '../utils/os';
|
||||
import { useSettingIsShowDocsEnabled } from './hooks';
|
||||
import { useI18n } from './i18n';
|
||||
|
||||
@@ -7,9 +7,9 @@ import React from 'react';
|
||||
import { useDispatch } from 'react-redux';
|
||||
import { alertsShowAlert } from '../alerts/actions';
|
||||
import { pybricksTeamUrl } from '../app/constants';
|
||||
import ClipboardIcon from '../components/ClipboardIcon';
|
||||
import ExternalLinkIcon from '../components/ExternalLinkIcon';
|
||||
import { useSelector } from '../reducers';
|
||||
import ClipboardIcon from '../utils/ClipboardIcon';
|
||||
import ExternalLinkIcon from '../utils/ExternalLinkIcon';
|
||||
import patreonLogo from './Digital-Patreon-Logo_White.png';
|
||||
import gitHubIcon from './GitHub-Mark-Light-32px.png';
|
||||
import { sponsorHideDialog } from './actions';
|
||||
|
||||
Reference in New Issue
Block a user