Skip to content

Commit 74aa016

Browse files
authored
Merge pull request #447 from AppQuality/UN-554
UN-554
2 parents b0f15c2 + 0872d83 commit 74aa016

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/features/navigation/Navigation.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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));

src/pages/Bug/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Header } from './Header';
77
import { Content } from './Content';
88
import { 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;

0 commit comments

Comments
 (0)