This commit is contained in:
David Ralph
2021-01-16 22:43:46 +00:00
parent 0a735384df
commit 3ec5a2c199
32 changed files with 530 additions and 182 deletions

View File

@@ -30,7 +30,9 @@ export default class Notes extends React.PureComponent {
render() {
let classList = 'notescontainer';
if (localStorage.getItem('darkTheme') === 'true') classList += ' dark';
if (localStorage.getItem('darkTheme') === 'true') {
classList += ' dark';
}
return (
<span id='noteContainer' className={classList}>