added format command and added trailing commas to reduce conflicts

This commit is contained in:
dswbx
2025-02-26 20:06:03 +01:00
parent 88b5359f1c
commit 7743f71a11
414 changed files with 3622 additions and 3610 deletions
+4 -4
View File
@@ -46,10 +46,10 @@ export const Breadcrumbs2 = ({ path: _path, backTo, onBack }: Breadcrumbs2Props)
return {
last,
...p
...p,
};
}),
[path]
[path],
);
return (
@@ -86,9 +86,9 @@ const CrumbsMobile = ({ crumbs }) => {
() =>
crumbs.slice(1, -1).map((c) => ({
label: c.string,
href: c.href
href: c.href,
})),
[crumbs]
[crumbs],
);
const onClick = useEvent((item) => navigate(`~/${item.href}`));