Skip to content

Commit

Permalink
Fix ssr for navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
mihai-macaneata committed Jun 11, 2020
1 parent afac388 commit e84c801
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const Navigation = props => {
document.querySelector('.page-document-sidebar .tabs'),
);
}
},[document.querySelector('.page-document-sidebar .tabs'), document.querySelector('.tabs.section-tabs')]);
},[__CLIENT__ && document.querySelector('.page-document-sidebar .tabs'), __CLIENT__ && document.querySelector('.tabs.section-tabs')]);


const isActive = url => {
Expand Down

0 comments on commit e84c801

Please sign in to comment.