Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pages/loading/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down