Fix deprecation warning
This commit is contained in:
@@ -5,10 +5,10 @@ import { useCallback } from "react";
|
||||
import { useGlobals } from "@storybook/manager-api";
|
||||
import {
|
||||
IconButton,
|
||||
Icons,
|
||||
TooltipLinkList,
|
||||
WithTooltip,
|
||||
} from "@storybook/components";
|
||||
import { DashboardIcon } from "@storybook/icons";
|
||||
|
||||
import { themeNames, VSCodeTheme } from "./theme";
|
||||
|
||||
@@ -53,7 +53,7 @@ export const ThemeSelector: FunctionComponent = () => {
|
||||
title="Change the theme of the preview"
|
||||
active={vscodeTheme !== VSCodeTheme.Dark}
|
||||
>
|
||||
<Icons icon="dashboard" />
|
||||
<DashboardIcon />
|
||||
</IconButton>
|
||||
</WithTooltip>
|
||||
);
|
||||
|
||||
2
extensions/ql-vscode/package-lock.json
generated
2
extensions/ql-vscode/package-lock.json
generated
@@ -13,6 +13,7 @@
|
||||
"@floating-ui/react": "^0.26.9",
|
||||
"@octokit/plugin-retry": "^6.0.1",
|
||||
"@octokit/rest": "^20.0.2",
|
||||
"@storybook/icons": "^1.2.9",
|
||||
"@vscode/codicons": "^0.0.35",
|
||||
"@vscode/debugadapter": "^1.59.0",
|
||||
"@vscode/debugprotocol": "^1.59.0",
|
||||
@@ -5480,7 +5481,6 @@
|
||||
"version": "1.2.9",
|
||||
"resolved": "https://registry.npmjs.org/@storybook/icons/-/icons-1.2.9.tgz",
|
||||
"integrity": "sha512-cOmylsz25SYXaJL/gvTk/dl3pyk7yBFRfeXTsHvTA3dfhoU/LWSq0NKL9nM7WBasJyn6XPSGnLS4RtKXLw5EUg==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": ">=14.0.0"
|
||||
},
|
||||
|
||||
@@ -1954,6 +1954,7 @@
|
||||
"@floating-ui/react": "^0.26.9",
|
||||
"@octokit/plugin-retry": "^6.0.1",
|
||||
"@octokit/rest": "^20.0.2",
|
||||
"@storybook/icons": "^1.2.9",
|
||||
"@vscode/codicons": "^0.0.35",
|
||||
"@vscode/debugadapter": "^1.59.0",
|
||||
"@vscode/debugprotocol": "^1.59.0",
|
||||
|
||||
Reference in New Issue
Block a user