Skip to content

Commit ee4b13c

Browse files
committed
Fix deprecation warning
1 parent de2fc29 commit ee4b13c

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

extensions/ql-vscode/.storybook/vscode-theme-addon/ThemeSelector.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import { useCallback } from "react";
55
import { useGlobals } from "@storybook/manager-api";
66
import {
77
IconButton,
8-
Icons,
98
TooltipLinkList,
109
WithTooltip,
1110
} from "@storybook/components";
11+
import { DashboardIcon } from "@storybook/icons";
1212

1313
import { themeNames, VSCodeTheme } from "./theme";
1414

@@ -53,7 +53,7 @@ export const ThemeSelector: FunctionComponent = () => {
5353
title="Change the theme of the preview"
5454
active={vscodeTheme !== VSCodeTheme.Dark}
5555
>
56-
<Icons icon="dashboard" />
56+
<DashboardIcon />
5757
</IconButton>
5858
</WithTooltip>
5959
);

extensions/ql-vscode/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extensions/ql-vscode/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1954,6 +1954,7 @@
19541954
"@floating-ui/react": "^0.26.9",
19551955
"@octokit/plugin-retry": "^6.0.1",
19561956
"@octokit/rest": "^20.0.2",
1957+
"@storybook/icons": "^1.2.9",
19571958
"@vscode/codicons": "^0.0.35",
19581959
"@vscode/debugadapter": "^1.59.0",
19591960
"@vscode/debugprotocol": "^1.59.0",

0 commit comments

Comments
 (0)