pytorch-ignite / code-generator

Web Application to generate your training scripts with PyTorch Ignite
https://code-generator.pytorch-ignite.ai/
BSD 3-Clause "New" or "Revised" License
40 stars 23 forks source link

Fix #351 #352

Closed avinashsharma080 closed 8 months ago

avinashsharma080 commented 8 months ago

Fixed a bug that caused the dark mode icon to revert to its original state when revisiting the "Get Started" page.

Fix #351

I added an extra if else statement to set isDark value that checks the current theme of the page and sets the icon state according to the current theme

What is the purpose of this pull request?

netlify[bot] commented 8 months ago

Deploy request for code-generator pending review.

Visit the deploys page to approve it

Name Link
Latest commit 318f41565de44e3da88f1909f5b945465f7ba560
vfdev-5 commented 8 months ago

@avinashsharma080 can you please rebase the PR on the origin/main branch and thanks for the fix!

vfdev-5 commented 8 months ago

Closing in favor of #353