This commit is contained in:
David Ralph
2020-09-15 22:38:32 +01:00
parent a1963fb31b
commit 3399705935
10 changed files with 15 additions and 19 deletions

View File

@@ -46,7 +46,7 @@ export default class App extends React.PureComponent {
let overlayClassList = 'Overlay';
if (localStorage.getItem('animations') === 'true') overlayClassList = 'Overlay modal-animation';
let language = require(`./translations/${localStorage.getItem('language')}.json`);
const language = require(`./translations/${localStorage.getItem('language')}.json`);
const theme = localStorage.getItem('theme');
if (theme) {