Skip to content

Commit

Permalink
rename getMenus to getNavBar
Browse files Browse the repository at this point in the history
Signed-off-by: Kipruto <[email protected]>
  • Loading branch information
kelvinkipruto committed Oct 17, 2024
1 parent 8e355f3 commit 6a1a748
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/climatemappedafrica/src/lib/data/common/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function getFooter(siteSettings) {
};
}

function getMenus(siteSettings) {
function getNavBar(siteSettings) {
const {
connect: { links = [] },
primaryNavigation: { menus = [], connect = [] },
Expand Down Expand Up @@ -76,7 +76,7 @@ export async function getPageProps(api, context) {

const siteSettings = await api.findGlobal("settings-site");
const footer = getFooter(siteSettings);
const menus = getMenus(siteSettings);
const menus = getNavBar(siteSettings);

return {
blocks,
Expand Down

0 comments on commit 6a1a748

Please sign in to comment.