Skip to content

Commit 89ca84c

Browse files
committed
fix: string type src
1 parent 8b732c2 commit 89ca84c

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.storybook/manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ addons.setConfig({
1010
// In order to override the default favicon, and inject a data hash link to the png
1111
const link = document.createElement("link")
1212
link.setAttribute("rel", "shortcut icon")
13-
link.setAttribute("href", favicon)
13+
link.setAttribute("href", favicon.src)
1414
document.head.appendChild(link)

.storybook/theme.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
import { create } from "@storybook/theming"
22

3-
// @ts-ignore
4-
import brandImage from "./preview-logo.svg"
5-
63
export default create({
74
base: "dark",
85

@@ -11,7 +8,7 @@ export default create({
118
appBorderRadius: 4,
129

1310
brandTitle: "Ethereum.org",
14-
brandImage,
11+
brandImage: "./preview-logo.svg",
1512
brandUrl: "https://www.ethereum.org",
1613

1714
barSelectedColor: "#ff7324",

0 commit comments

Comments
 (0)