[core] Replace getInitialProps
with getStaticProps
#33684
Merged
getInitialProps
with getStaticProps
#33684