-
Notifications
You must be signed in to change notification settings - Fork 86
Description
Issue: Sidebar hides when navigating to /pomodoro or /todolist
Description:
When navigating to the /pomodoro or /todolist routes, the main sidebar disappears. The sidebar is visible on other pages, but not on these two routes.
Expected Behavior:
The sidebar should remain visible and fixed on the left side across all routes, including /pomodoro and /todolist, for consistent navigation.
Steps to Reproduce:
Open https://devsync-one.vercel.app/
Navigate to /pomodoro → Sidebar disappears
Navigate to /todolist → Sidebar also disappears
Expected Result:
The sidebar should stay visible on both pages, like on the dashboard or other sections.
Actual Result:
The sidebar hides only on /pomodoro and /todolist.
Possible Cause (for developers):
These routes might not be wrapped inside the main layout component that includes the sidebar.
In React apps using React Router, this happens when some routes are defined outside the layout that holds persistent UI components.
Suggested Fix:
Ensure that all routes share a common layout that contains the sidebar
