🕶 修复编译异常

This commit is contained in:
tangly1024
2021-09-29 14:11:20 +08:00
parent be3b50c788
commit 3fe53e81b9
2 changed files with 1 additions and 2 deletions

View File

@@ -60,7 +60,7 @@ const DefaultLayout = ({ tags, posts, page, currentTag, ...customMeta }) => {
changeColumn(3)
} else if (window.innerWidth > 900) {
changeColumn(2)
} else if (window.innerWidth < 900) {
} else if (window.innerWidth <= 900) {
changeColumn(1)
}
}, 500)