diff --git a/src-web/components/SettingsDropdown.tsx b/src-web/components/SettingsDropdown.tsx index e848ee66..8281910a 100644 --- a/src-web/components/SettingsDropdown.tsx +++ b/src-web/components/SettingsDropdown.tsx @@ -71,7 +71,7 @@ export function SettingsDropdown() { key: 'update-mode', label: updateMode === 'stable' ? 'Enable Beta' : 'Disable Beta', onSelect: () => setUpdateMode(updateMode === 'stable' ? 'beta' : 'stable'), - leftSlot: , + leftSlot: , }, { key: 'update-check', diff --git a/src-web/components/core/Icon.tsx b/src-web/components/core/Icon.tsx index 9e320857..66f400c2 100644 --- a/src-web/components/core/Icon.tsx +++ b/src-web/components/core/Icon.tsx @@ -1,4 +1,4 @@ -import * as ReactIcons from '@radix-ui/react-icons'; +import * as I from '@radix-ui/react-icons'; import classNames from 'classnames'; import type { HTMLAttributes } from 'react'; import { memo } from 'react'; @@ -6,46 +6,46 @@ import { ReactComponent as LeftPanelHiddenIcon } from '../../assets/icons/LeftPa import { ReactComponent as LeftPanelVisibleIcon } from '../../assets/icons/LeftPanelVisibleIcon.svg'; const icons = { - archive: ReactIcons.ArchiveIcon, - camera: ReactIcons.CameraIcon, - chat: ReactIcons.ChatBubbleIcon, - check: ReactIcons.CheckIcon, - checkbox: ReactIcons.CheckboxIcon, - clock: ReactIcons.ClockIcon, - chevronDown: ReactIcons.ChevronDownIcon, - chevronRight: ReactIcons.ChevronRightIcon, - code: ReactIcons.CodeIcon, - colorWheel: ReactIcons.ColorWheelIcon, - copy: ReactIcons.CopyIcon, - dividerH: ReactIcons.DividerHorizontalIcon, - dotsH: ReactIcons.DotsHorizontalIcon, - dotsV: ReactIcons.DotsVerticalIcon, - download: ReactIcons.DownloadIcon, - drag: ReactIcons.DragHandleDots2Icon, - eye: ReactIcons.EyeOpenIcon, - eyeClosed: ReactIcons.EyeClosedIcon, - gear: ReactIcons.GearIcon, - hamburger: ReactIcons.HamburgerMenuIcon, - home: ReactIcons.HomeIcon, - listBullet: ReactIcons.ListBulletIcon, - magicWand: ReactIcons.MagicWandIcon, - magnifyingGlass: ReactIcons.MagnifyingGlassIcon, - moon: ReactIcons.MoonIcon, - openNewWindow: ReactIcons.OpenInNewWindowIcon, - paperPlane: ReactIcons.PaperPlaneIcon, - pencil: ReactIcons.Pencil2Icon, - plus: ReactIcons.PlusIcon, - plusCircle: ReactIcons.PlusCircledIcon, - question: ReactIcons.QuestionMarkIcon, - rows: ReactIcons.RowsIcon, - sun: ReactIcons.SunIcon, - trash: ReactIcons.TrashIcon, - triangleDown: ReactIcons.TriangleDownIcon, - triangleLeft: ReactIcons.TriangleLeftIcon, - triangleRight: ReactIcons.TriangleRightIcon, - update: ReactIcons.UpdateIcon, - upload: ReactIcons.UploadIcon, - x: ReactIcons.Cross2Icon, + archive: I.ArchiveIcon, + chat: I.ChatBubbleIcon, + check: I.CheckIcon, + checkbox: I.CheckboxIcon, + clock: I.ClockIcon, + chevronDown: I.ChevronDownIcon, + chevronRight: I.ChevronRightIcon, + code: I.CodeIcon, + colorWheel: I.ColorWheelIcon, + copy: I.CopyIcon, + dividerH: I.DividerHorizontalIcon, + dotsH: I.DotsHorizontalIcon, + dotsV: I.DotsVerticalIcon, + download: I.DownloadIcon, + drag: I.DragHandleDots2Icon, + eye: I.EyeOpenIcon, + eyeClosed: I.EyeClosedIcon, + gear: I.GearIcon, + hamburger: I.HamburgerMenuIcon, + home: I.HomeIcon, + listBullet: I.ListBulletIcon, + magicWand: I.MagicWandIcon, + magnifyingGlass: I.MagnifyingGlassIcon, + moon: I.MoonIcon, + openNewWindow: I.OpenInNewWindowIcon, + paperPlane: I.PaperPlaneIcon, + pencil: I.Pencil2Icon, + plus: I.PlusIcon, + plusCircle: I.PlusCircledIcon, + question: I.QuestionMarkIcon, + rocket: I.RocketIcon, + rows: I.RowsIcon, + sun: I.SunIcon, + trash: I.TrashIcon, + triangleDown: I.TriangleDownIcon, + triangleLeft: I.TriangleLeftIcon, + triangleRight: I.TriangleRightIcon, + update: I.UpdateIcon, + upload: I.UploadIcon, + x: I.Cross2Icon, // Custom leftPanelHidden: LeftPanelHiddenIcon,