Skip to content

Commit

Permalink
global nav change
Browse files Browse the repository at this point in the history
  • Loading branch information
colegoldsmith committed May 3, 2024
1 parent a872f89 commit 2da0f5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/global-nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module.exports = ({
},
},
}) => {
let globalNav = site.keys.globalNav
let globalNav = site?.keys?.globalNav

if (!globalNav) return []
if (globalNav._compiled) return globalNav
Expand Down

0 comments on commit 2da0f5c

Please sign in to comment.