diff --git a/public/js/profile.js b/public/js/profile.js index 40e6354..bde0654 100644 --- a/public/js/profile.js +++ b/public/js/profile.js @@ -93,8 +93,9 @@ function render() { ` - - append(postsh) + if (data.posts.length > 0) { + append(postsh) + } const about = `