fix pages get props

This commit is contained in:
myl7
2022-02-06 06:54:52 +08:00
parent e28ce30987
commit 5bd04045b1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ export default function Folders() {
)
}
export async function getStaticProps({ locale }) {
export async function getServerSideProps({ locale }) {
return {
props: {
...(await serverSideTranslations(locale, ['common']))