Skip to content

Commit

Permalink
Added a return object in / to fix the getServerSideProps Error
Browse files Browse the repository at this point in the history
  • Loading branch information
ertush committed Feb 28, 2024
1 parent 08562ba commit 1a2def1
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -807,6 +807,26 @@ export async function getServerSideProps(ctx) {

}


return {
props : {
loggedIn: false,
token,
offline: true,
data: {
moh:"-",
faith_based:"-",
private_facilities:"-",
ngo:"-",
chu_fully_functional: "-",
chu_semi_functional: "-",
chu_non_functional: "-",
chu_closed: "-",
facilities: "-",
chus: "-"
}
}
}



Expand Down

0 comments on commit 1a2def1

Please sign in to comment.