Skip to content

Change mode not working #449

Description

@THAKURSUMIT1600

Here's a properly structured bug report template:


Describe the bug
The "Change Mode" feature is not functioning as expected. When attempting to switch between dark and light mode, no visual changes occur, and the mode does not persist after reloading the page.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the application’s main page.
  2. Click on the "Change Mode" button to toggle between dark and light mode.
  3. Observe that there is no change in the appearance of the mode.
  4. Reload the page to see if the selected mode persists.
  5. The mode reverts to default, and the change does not persist.

Expected behavior
Clicking the "Change Mode" button should toggle between dark and light mode. The selected mode should persist across page reloads.

Screenshots
[Insert screenshots or screen recordings if applicable]

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Version: 95

Smartphone (please complete the following information):

  • Device: Poco m4 pro
  • Browser: Chrome

Additional context
The issue might be related to improper state management or failure to apply the correct classes for dark/light mode. The feature was previously working, and the problem might have arisen after a recent update or change in state management.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions