rename getServerSideProps to getStaticProps

This commit is contained in:
Maximilian Schneider 2021-12-26 07:28:46 -07:00
parent 0fc6783bc2
commit ba5b5bb56c
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ import Select from '../components/Select'
import { useRouter } from 'next/router'
import { PublicKey } from '@solana/web3.js'
export async function getServerSideProps({ locale }) {
export async function getStaticProps({ locale }) {
return {
props: {
...(await serverSideTranslations(locale, ['common'])),