Skip to content

Commit

Permalink
refactor: 🔥 updated icons package version
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeep-deriv committed Aug 22, 2024
1 parent e0a4819 commit cd71d44
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 23 deletions.
9 changes: 4 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@deriv-com/utils": "latest",
"@deriv/deriv-charts": "^2.1.23",
"@deriv/js-interpreter": "^3.0.0",
"@deriv/quill-icons": "~1.23.10",
"@deriv/quill-icons": "~1.23.12",
"@svgr/core": "^8.1.0",
"@tanstack/react-query": "^5.29.2",
"blockly": "^10.4.3",
Expand Down
19 changes: 2 additions & 17 deletions src/pages/dashboard/load-bot-preview/recent-workspace.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import { useComponentVisibility } from '@/hooks/useComponentVisibility';
import { useStore } from '@/hooks/useStore';
import { waitForDomElement } from '@/utils/dom-observer';
import {
LabelPairedFileCaptionRegularIcon,
LabelPairedFloppyDiskCaptionRegularIcon,
LabelPairedPageCircleArrowRightCaptionRegularIcon,
LabelPairedTrashCaptionRegularIcon,
LegacyMenuDots1pxIcon,
} from '@deriv/quill-icons';
Expand All @@ -21,25 +21,10 @@ import { Text } from '@deriv-com/ui';
import { STRATEGY } from '../../../constants/dashboard';
import './recent-workspace.scss';

export const MENU_DESKTOP = [
{
type: STRATEGY.OPEN,
icon: <LabelPairedFileCaptionRegularIcon height='24px' width='24px' />,
},
{
type: STRATEGY.SAVE,
icon: <LabelPairedFloppyDiskCaptionRegularIcon height='24px' width='24px' />,
},
{
type: STRATEGY.DELETE,
icon: <LabelPairedTrashCaptionRegularIcon height='24px' width='24px' />,
},
];

export const CONTEXT_MENU = [
{
type: STRATEGY.OPEN,
icon: <LabelPairedFileCaptionRegularIcon height='24px' width='24px' />,
icon: <LabelPairedPageCircleArrowRightCaptionRegularIcon height='24px' width='24px' />,
label: <Localize i18n_default_text='Open' />,
},
{
Expand Down

0 comments on commit cd71d44

Please sign in to comment.