Remove accidentally persisted log-level data

This commit gets rid of log-level data in localStorage which in some
extreme cases could fill up the entire localStorage making the app
unusable
Followup to https://github.com/matrix-org/matrix-js-sdk/pull/1880
This commit is contained in:
Dariusz Niemczyk 2021-09-02 20:30:12 +02:00
parent 1aa2efd2ce
commit 0a87baf99d
No known key found for this signature in database
GPG key ID: 3E8DC619E3C59A05
2 changed files with 13 additions and 0 deletions

View file

@ -33,6 +33,7 @@ require('katex/dist/katex.css');
* On production build it's going to be an empty module, so don't worry about that.
*/
require('./devcss');
require('./localstorage-fix');
// These are things that can run before the skin loads - be careful not to reference the react-sdk though.
import { parseQsFromFragment } from "./url_utils";
import './modernizr';