Skip to content

Commit

Permalink
fix(troubleshooting list page): fix troubleshooting list page
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroAntunesCosta committed Jan 7, 2025
1 parent 052c198 commit 1665520
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ export default function Layout({
startTracking()
}, [])

console.log('////////// layout.tsx')
console.log('sectionSelected')
console.log(sectionSelected)

return (
<ThemeProvider>
<LibraryContextProvider
Expand Down
7 changes: 7 additions & 0 deletions src/pages/troubleshooting/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ export async function getStaticProps({
preview,
previewData,
}: GetStaticPropsContext) {
console.log('///////////------- troubleshooting/index.tsx')
console.log('Running getStaticProps')
const sidebarFallback = await getNavigation()
const sectionSelected = 'Troubleshooting'
const previewBranch =
Expand Down Expand Up @@ -219,6 +221,11 @@ export async function getStaticProps({
}
}

console.log('sidebarFallback')
console.log(sidebarFallback)
console.log('troubleshootingData')
console.log(troubleshootingData)

return {
props: {
sidebarFallback,
Expand Down

0 comments on commit 1665520

Please sign in to comment.