Skip to content

Commit

Permalink
fix error when searching while on non-sidenav section (#47772)
Browse files Browse the repository at this point in the history
  • Loading branch information
rudream authored Oct 21, 2024
1 parent 1348d81 commit eef6f75
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function SearchContent({
<SearchResult
key={index}
subsection={subsection}
$active={currentView.route === subsection.route}
$active={currentView?.route === subsection.route}
/>
))}
</Flex>
Expand Down

0 comments on commit eef6f75

Please sign in to comment.