fix eslint errors

This commit is contained in:
tmshv committed 2022-09-06 14:34:50 +03:00
1 parent a732ec0640
commit 86a02a945b
12 files changed
+89 -89

No files matched your search

+1 -1
View File
@@ -10,6 +10,6 @@ import { ru } from 'date-fns/locale'
export const dateFormat = (date: string | Date) => {
const value = typeof date === 'string' ? new Date(date) : date
return format(value, "d MMMM yyyy", {
locale: ru
locale: ru,
})
}
+1 -1
View File
@@ -1,3 +1,3 @@
export function titleCase(str: string) {
return str.charAt(0).toUpperCase() + str.slice(1)
return str.charAt(0).toUpperCase() + str.slice(1)
}