It was caused by replacing the attribute href of <link rel="stylesheet" href="styles/theme-default.css" id="lav--theme"> everytime getConfigs was called. Chromium reload the file even if it's the same, causing the CSS to unload and load, making the webpage blink.
This PR also fix eslint errors and remove some dead code
Fix blinking.
It was caused by replacing the attribute href of
<link rel="stylesheet" href="styles/theme-default.css" id="lav--theme">
everytime getConfigs was called. Chromium reload the file even if it's the same, causing the CSS to unload and load, making the webpage blink.This PR also fix eslint errors and remove some dead code