imhardikdesai / SocioHub

Welcome to SocioHub, the ultimate social media platform for connecting with friends, sharing your thoughts and ideas, and discovering new content. With our sleek and user-friendly interface, you can easily create a profile, follow your favorite users, and stay up-to-date with the latest trends and news. Join our community today and start sharing
https://sociohub.netlify.app
0 stars 4 forks source link

[Bug]:Light and Dark Mode Toggle Messages Vice Versa #25

Closed URVESH1121 closed 10 months ago

URVESH1121 commented 10 months ago

Issue Summary

When toggling between dark mode and light mode in the application, the wrong message is shown

Steps to Reproduce

  1. Go to Home page
  2. Toggle dark mode and light mode
  3. See the toast message at the top

Actual Results

When toggling between dark mode and light mode, the application displays the incorrect message in the toast notification at the top of the screen.

Expected Results

Upon switching between dark mode and light mode, the application should display the appropriate message in the toast notification that corresponds to the selected mode.

Evidence

When Dark mode is activated then it shows Light mode activated.

image

When Light mode is activated it shows Dark mode activated.

image