fix eslint errors
This commit is contained in:
1 parent
a732ec0640
commit
86a02a945b
12 files changed
+89
-89
No files matched your search
+1
-1
@@ -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
@@ -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)
|
||||
}
|
||||
Reference in new issue
Block a user