Skip to content

Commit

Permalink
Corrected the spelling of 'DarkMode' and 'LightMode' in the toggle label
Browse files Browse the repository at this point in the history
  • Loading branch information
MiliMade committed Oct 6, 2022
1 parent 26897d6 commit 265ea70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function App() {
setMode('dark');
document.body.style.backgroundColor = '#042743';
document.getElementById('darkmode-id').style.color='white'
document.getElementById('darkmode-id').innerText = "Enable Lightmode"
document.getElementById('darkmode-id').innerText = "Enable LightMode"
showAlert(" Dark mode has been enabled", "primary");
document.title = 'TextEdit-Dark Mode';

Expand All @@ -38,7 +38,7 @@ function App() {
setMode('light');
document.body.style.backgroundColor = 'white';
document.getElementById('darkmode-id').style.color='#042743'
document.getElementById('darkmode-id').innerText = "Enable Darkmode"
document.getElementById('darkmode-id').innerText = "Enable DarkMode"
showAlert("Light mode has been enabled", "primary");
document.title = 'TextEdit-Light Mode';

Expand Down

0 comments on commit 265ea70

Please sign in to comment.