Skip to content

Commit 64b286b

Browse files
committed
fix:blogpost dynamic post
1 parent 0d9cae4 commit 64b286b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/blog/[...post].jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export default function BlogPost(props) {
4444
onEntryChange(() => {
4545
if (CONTENTSTACK_LIVE_PREVIEW === 'true') fetchData();
4646
});
47-
}, []);
47+
}, [result]);
4848

4949
return (
5050
<Layout

0 commit comments

Comments
 (0)