Fix deprecation warning

This commit is contained in:
Koen Vlaswinkel
2024-03-20 12:06:08 +01:00
parent de2fc2966d
commit ee4b13c9e9
3 changed files with 4 additions and 3 deletions

View File

@@ -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>
);

View File

@@ -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"
},

View File

@@ -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",