Skip to content

Commit eda6d22

Browse files
committed
fix image on post not loading
1 parent fdfa977 commit eda6d22

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Posts.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import lmao from './assets/lmao.gif';
12
export const posts = [
23
{
34
title: "Hi there!",
@@ -27,7 +28,7 @@ export const posts = [
2728
"Third post!",
2829
content: `
2930
<p>Test again! But this time with some <strong>HTML content</strong></p>
30-
<img src="src/assets/lmao.gif"/>
31+
<img src="${lmao}"/>
3132
`,
3233
},
3334
{

0 commit comments

Comments
 (0)