updated to next 9.3.0

This commit is contained in:
tmshv committed 2020-03-10 19:13:11 +03:00
1 parent 6c6c9f91ca
commit 01acda1e04
8 files changed
+478 -217

No files matched your search

+1 -1
View File
@@ -101,7 +101,7 @@ const Page: NextPage<Props> = props => {
)
}
export const unstable_getStaticProps = async (ctx: NextPageContext) => {
export const getStaticProps = async (ctx: NextPageContext) => {
const title = 'Преподаватели Шлиссельбургской ДХШ'
const pages = await Promise.all(persons
.map(page => requestGet<IPage>(createApiUrl(`/api/page?page=${page}`), null))