Skip to content

Fix/navbar theme toggle#398

Open
anushka11p wants to merge 3 commits into
Canopus-Labs:mainfrom
anushka11p:fix/navbar-theme-toggle
Open

Fix/navbar theme toggle#398
anushka11p wants to merge 3 commits into
Canopus-Labs:mainfrom
anushka11p:fix/navbar-theme-toggle

Conversation

@anushka11p

Copy link
Copy Markdown

📝 Pull Request Description

Related Issue

Closes #336

Summary

This PR fixes the interview session creation flow by resolving the runtime crash caused by the undefined ThemeToggle component. While verifying the complete flow, additional backend issues affecting session creation were identified and resolved to ensure interview sessions are created successfully and users are redirected to the session page without errors.


Type of Change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature
  • ♻️ Refactoring
  • 📝 Documentation update
  • 🎨 UI/UX improvement
  • 🔥 Other (please describe) ______

How Has This Been Tested?

  • Started the frontend and backend locally.
  • Opened the Role Prep page.
  • Clicked Add Session and filled in valid interview details.
  • Created a new interview session successfully.
  • Verified the application no longer crashes with ThemeToggle is not defined.
  • Verified interview questions are generated and the session is created successfully.

Screenshots (if applicable)

Before: Application crashed with ThemeToggle is not defined.

image

After: Interview session is created successfully and the user is redirected to the session page.

Screenshot 2026-07-07 at 11 36 30 PM

Checklist

  • My code follows the project's guidelines
  • I have tested my changes
  • I have updated documentation where necessary
  • I have linked the related issue
  • My changes do not introduce new warnings or errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Creating a new interview session crashes the app

1 participant