jinx-vi-0 / BlogLog

BlogLog - Your personalized blogging companion
23 stars 52 forks source link

After Login /dashboard page is not accessible #101

Closed ParasY1724 closed 1 month ago

ParasY1724 commented 1 month ago

Describe the bug After Login /dashboard page is not accessible gives error, i current logic main layout is used but we should use admin layout for admin pages.

To Reproduce Steps to reproduce the behavior: 1.Login

  1. go to /dashboard
  2. See error

Screenshots Screenshot From 2024-10-29 14-03-02

Desktop (please complete the following information):

Smartphone (please complete the following information):

jinx-vi-0 commented 1 month ago

Find out why it's not working.

ParasY1724 commented 1 month ago

Find out why it's not working.

Yes i did it is applying layout of main i.e main header is begin applied for admin routes which don't have currentRoute so instead for admin routes we should apply admin layout

jinx-vi-0 commented 1 month ago

Assigned @ParasY1724

jinx-vi-0 commented 1 month ago

good work

github-actions[bot] commented 1 month ago

🎉 Congratulations @ParasY1724! Your issue has been successfully closed! Thanks for your contribution! If you enjoyed contributing, please consider giving us a ⭐ and following us for updates!