Apply prettier formatting

This commit is contained in:
Michael Weimann
2022-12-09 13:28:29 +01:00
parent a32f12c8f3
commit 7921a6cbf8
104 changed files with 12169 additions and 11047 deletions

View File

@@ -28,7 +28,7 @@ limitations under the License.
*
* For more details, see webpack.config.js:184 (string-replace-loader)
*/
if (process.env.NODE_ENV === 'development') {
if (process.env.NODE_ENV === "development") {
("use theming");
/**
* Clean up old hot-module script injections as they hog up memory
@@ -40,8 +40,7 @@ if (process.env.NODE_ENV === 'development') {
const elements = Array.from(document.querySelectorAll("script[src*=hot-update]"));
if (elements.length > 1) {
const oldInjects = elements.slice(0, elements.length - 1);
oldInjects.forEach(e => e.remove());
oldInjects.forEach((e) => e.remove());
}
}, 1000);
}