From 6122ab439698b771735b12e2620606c68b30b1a2 Mon Sep 17 00:00:00 2001 From: ilyasBozdemir Date: Thu, 16 May 2024 14:45:12 +0300 Subject: [PATCH] getStaticProps to getStaticProps --- LibraryTrackingApp/src/frontend/pages/docs.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LibraryTrackingApp/src/frontend/pages/docs.jsx b/LibraryTrackingApp/src/frontend/pages/docs.jsx index cd3031b..4282895 100644 --- a/LibraryTrackingApp/src/frontend/pages/docs.jsx +++ b/LibraryTrackingApp/src/frontend/pages/docs.jsx @@ -30,7 +30,7 @@ function DocsPage({ swaggerJsonUri, pageTitle, error }) { ); } -export async function getStaticProps() { +export async function getInitialProps() { // burda json dosyasını alıp günlük haftalık gibi cachelemek ile