style: прогнать prettier по frontend
This commit is contained in:
@@ -93,5 +93,3 @@ export const formatStorageUnit = (bytes: number): string => {
|
||||
// Возврат отформатированной единицы хранения
|
||||
return sizes[i];
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -49,5 +49,3 @@ export const deepCopy = <T>(source: Partial<T>): T => {
|
||||
|
||||
return objCopy as T;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -10,5 +10,3 @@ export function translateRouteTitleI18n(title: any) {
|
||||
}
|
||||
return title;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -37,5 +37,3 @@ export function isExternal(path: string) {
|
||||
const isExternal = /^(https?:|http?:|mailto:|tel:)/.test(path);
|
||||
return isExternal;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -67,5 +67,3 @@ export const scrollTo = (to: number, duration: number, callback?: any) => {
|
||||
};
|
||||
animateScroll();
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -99,5 +99,3 @@ export const getYearLater = (): number => {
|
||||
date.setFullYear(date.getFullYear() + 1);
|
||||
return date.getTime();
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user