Skip to content

Commit

Permalink
Merge pull request #332 from ertush/hotfix
Browse files Browse the repository at this point in the history
Added a return object in / to fix the getServerSideProps Error
  • Loading branch information
ertush authored Feb 28, 2024
2 parents 8252aa4 + 1a2def1 commit fc73842
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 fc73842

Please sign in to comment.