dont show load posts button if no posts

This commit is contained in:
Tyler Murphy 2023-02-02 11:35:10 -05:00
parent 440f6c6607
commit 556cbdf168

View file

@ -93,8 +93,9 @@ function render() {
</div>
`
if (data.posts.length > 0) {
append(postsh)
}
const about = `
<div id="about" class="post ${posts ? 'hidden' : ''}">