From 9af3cc7676cf3b3d938a7612e386aed72df4a336 Mon Sep 17 00:00:00 2001 From: Guga Gongadze Date: Mon, 27 Nov 2023 16:59:07 +0400 Subject: [PATCH] fix: use getServerSideProps (#189) --- pages/releases.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/releases.tsx b/pages/releases.tsx index 848584d4..024c003c 100644 --- a/pages/releases.tsx +++ b/pages/releases.tsx @@ -10,7 +10,7 @@ export interface Release { published_at: string } -export const getStaticProps = async () => { +export const getServerSideProps = async () => { const response = await axios(`https://api.github.com/repos/shuttle-hq/shuttle/releases`) return {