style: run prettier on pre-commit hook
This commit is contained in:
committed by
Stefan Rotsch
parent
b82d5a9da9
commit
9948712690
@@ -38,7 +38,8 @@ export function isMobileViewport() {
|
||||
return width < 1200;
|
||||
}
|
||||
|
||||
export const publicUrl = (process.env.PUBLIC_URL || "").replace(/\/$/, '') + "/";
|
||||
export const publicUrl =
|
||||
(process.env.PUBLIC_URL || "").replace(/\/$/, "") + "/";
|
||||
|
||||
export function assetUrl(file: string) {
|
||||
return publicUrl + file;
|
||||
|
||||
Reference in New Issue
Block a user