File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ export const Navigation = ({
5050
5151 // Set isSidebarOpen to false if the route is "campaigns"
5252 useEffect ( ( ) => {
53- if ( route === 'campaigns' || route === 'bugs' ) {
53+ if ( route === 'campaigns' || route === 'bugs' || route === 'bug' ) {
5454 dispatch ( setSidebarOpen ( false ) ) ;
5555 } else {
5656 dispatch ( setSidebarOpen ( true ) ) ;
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { Header } from './Header';
77import { Content } from './Content' ;
88import { LoadingSkeleton } from './LoadingSkeleton' ;
99
10- const Bugs = ( ) => {
10+ const Bug = ( ) => {
1111 const { campaignId, bugId } = useParams ( ) ;
1212 const { t } = useTranslation ( ) ;
1313 const navigate = useNavigate ( ) ;
@@ -47,4 +47,4 @@ const Bugs = () => {
4747 ) ;
4848} ;
4949
50- export default Bugs ;
50+ export default Bug ;
You can’t perform that action at this time.
0 commit comments