diff --git a/pages/loading/index.tsx b/pages/loading/index.tsx index b040000..eed21f7 100644 --- a/pages/loading/index.tsx +++ b/pages/loading/index.tsx @@ -6,7 +6,7 @@ import LoadingBg from 'public/assets/images/image_loadingBg.png'; import Lottie from 'react-lottie'; import animationData from '../../src/lib/lotties/64058-playsit-gift-for-quiz.json'; -export async function getStaticProps() { +export async function getServerSideProps() { const response = await loadingAPI.getProductCount(); return {