Skip to content

Commit a5b842b

Browse files
chore(.storybook/manager): ignore favicon type error
1 parent 329e2bd commit a5b842b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.storybook/manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { addons } from "@storybook/manager-api"
22
import theme from "./theme"
3-
// @ts-ignore
43
import favicon from "../public/favicon.png"
54

65
addons.setConfig({
@@ -10,5 +9,6 @@ addons.setConfig({
109
// In order to override the default favicon, and inject a data hash link to the png
1110
const link = document.createElement("link")
1211
link.setAttribute("rel", "shortcut icon")
12+
// @ts-ignore
1313
link.setAttribute("href", favicon)
1414
document.head.appendChild(link)

0 commit comments

Comments
 (0)