fix(settings): format the date format files prettier flagged

This commit is contained in:
Maurice
2026-11-03 22:13:14 +00:00
parent 154620b99a
commit 65e5d4ab72
12 changed files with 250 additions and 200 deletions
@@ -1,8 +1,8 @@
import { useFormatDate } from '../../../hooks/useDateFormat'
import { useFormatDate } from '../../../hooks/useDateFormat';
/** The day a plugin version was published, in the user's date format (#2971). */
export default function MPluginVersionDate({ at, className }: { at?: string | null; className?: string }) {
const { formatDate } = useFormatDate()
if (!at) return null
return <span className={className}>{formatDate(new Date(at))}</span>
const { formatDate } = useFormatDate();
if (!at) return null;
return <span className={className}>{formatDate(new Date(at))}</span>;
}