lint: fix lint errors
Déploiement Frontend BETA / Lint et tests (push) Successful in 1m58s
Déploiement Frontend BETA / Déploiement beta (push) Failing after 6m57s

This commit is contained in:
2026-05-15 21:26:03 +04:00
parent f38ff8202d
commit 7e6dc2a536
6 changed files with 11 additions and 8 deletions
-2
View File
@@ -1,4 +1,3 @@
/* eslint-disable camelcase */
import {
createDirectus, rest, authentication, withToken, createItem,
readUser, createContentVersion, readContentVersions, saveToContentVersion,
@@ -141,7 +140,6 @@ export async function listVersions({
return versions
} catch (error) {
if (error) {
countdownRef.current.startCountdown()
} else {
+1 -1
View File
@@ -25,7 +25,7 @@ export function formatDate(date, formatStr = 'PP', {withTimezone = false} = {})
})
if (withTimezone) {
const timezone = Intl.DateTimeFormat().resolvedOptions().timeZone
const timezone = new Intl.DateTimeFormat().resolvedOptions().timeZone
return `${formatted} (${timezone})`
}