Audit : code mort retiré (fonctions jamais utilisées, imports, 83 traductions inutilisées)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YVo1qxKoBQCaMd7Ue8PGbe
This commit is contained in:
28 files changed
+9
-1625
No files matched your search
@@ -242,7 +242,7 @@ export default function CalendarView({ onClose, onOpen }: { onClose: () => void;
|
||||
return Array.from({ length: 42 }, (_, k) => {
|
||||
const d = new Date(start.getFullYear(), start.getMonth(), start.getDate() + k)
|
||||
return { date: iso(d), day: d.getDate(), inMonth: d.getMonth() === month.getMonth() }
|
||||
}).filter((c, k, all) => k < 35 || all.slice(35).some((x) => x.inMonth))
|
||||
}).filter((_, k, all) => k < 35 || all.slice(35).some((x) => x.inMonth))
|
||||
}, [month])
|
||||
|
||||
const mid = monthId(month)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { locale, t } from '../i18n'
|
||||
import { ChevronDown, ChevronUp, Search, X } from 'lucide-react'
|
||||
import { useEffect, useMemo, useState } from 'react'
|
||||
import { useMemo, useState } from 'react'
|
||||
import { TOP_CATEGORIES } from '../lib/constants'
|
||||
import { cx, formatRating, normalizeText } from '../lib/utils'
|
||||
import { useMedia } from '../store'
|
||||
|
||||
@@ -16,7 +16,6 @@ import {
|
||||
renewed,
|
||||
TARGET_MAX,
|
||||
TEMPLATES,
|
||||
type ChallengeProgress,
|
||||
} from '../../lib/challenges'
|
||||
import { MEDIA_TYPES } from '../../lib/constants'
|
||||
import { useEscape } from '../../lib/escape'
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import { t } from '../i18n'
|
||||
import type { ReactNode } from 'react'
|
||||
import { cx } from '../lib/utils'
|
||||
|
||||
|
||||
Reference in new issue
Block a user