style: run prettier on pre-commit hook

This commit is contained in:
Stefan Rotsch
2023-06-01 16:43:09 +02:00
committed by Stefan Rotsch
parent b82d5a9da9
commit 9948712690
15 changed files with 50 additions and 45 deletions

View File

@@ -17,7 +17,7 @@ function isMobileViewport() {
return width < 1200;
}
exports.isMobileViewport = isMobileViewport;
exports.publicUrl = (process.env.PUBLIC_URL || "").replace(/\/$/, '') + "/";
exports.publicUrl = (process.env.PUBLIC_URL || "").replace(/\/$/, "") + "/";
function assetUrl(file) {
return exports.publicUrl + file;
}