mirror of
https://github.com/ershisan99/flashcards-example-project.git
synced 2025-12-18 05:09:23 +00:00
lint everything
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
export function formatDate(date: string | undefined) {
|
||||
if (!date) return ''
|
||||
if (!date) {
|
||||
return ''
|
||||
}
|
||||
|
||||
return new Date(date).toLocaleDateString('ru-RU')
|
||||
return new Date(date).toLocaleDateString('ru-RU')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user