Skip to content

Commit

Permalink
update checking
Browse files Browse the repository at this point in the history
  • Loading branch information
Defrian Yarfi committed Sep 4, 2020
1 parent 12fcbe9 commit 77017b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/post/[slug].js
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ function Post(props) {

return (
<Layout
title={`Next.js with Sequelize | Post Page - ${post.data.title}`}
title={`Next.js with Sequelize | Post Page - ${post || post.data.title}`}
url={`${origin}${router.asPath}`}
origin={origin}
>
Expand Down

0 comments on commit 77017b2

Please sign in to comment.