Skip to content

Commit ff4e1c7

Browse files
committed
🐛 FIX: website link to image
1 parent 8111d01 commit ff4e1c7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

demo-app/src/components/Buttons/Buttons.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ const Buttons = (props: Props) => {
1111
>
1212
<div className={"button button-size"}>
1313
<div style={{ marginRight: 10, marginTop: 5 }}>
14-
<img src="/assets/gh-logo.png" height={30} alt="github-logo" />
14+
<img
15+
src={`${process.env.PUBLIC_URL}/assets/gh-logo.png`}
16+
height={30}
17+
alt="github-logo"
18+
/>
1519
</div>
1620
<div>View On Github</div>
1721
<div style={{ marginLeft: 10 }}>

0 commit comments

Comments
 (0)