Skip to content
This repository has been archived by the owner on Apr 2, 2021. It is now read-only.

Commit

Permalink
Remove wrong comment
Browse files Browse the repository at this point in the history
  • Loading branch information
codetheweb committed May 3, 2020
1 parent b2181ff commit 7c817cc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion webapp/src/reducers.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ const courses = function (state = {loading: true}, action) {
};

const settingsInitalState = {
// Defaults to false (dark mode) since upon first load `theme` is undefined
lightTheme: window.localStorage.getItem('theme') ? window.localStorage.getItem('theme') === 'light' : !window.matchMedia('(prefers-color-scheme: dark)').matches
};

Expand Down

0 comments on commit 7c817cc

Please sign in to comment.