mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-17 12:56:05 +00:00
added format command and added trailing commas to reduce conflicts
This commit is contained in:
@@ -42,10 +42,10 @@ export const Breadcrumbs = ({ path: _path, backTo, onBack }: BreadcrumbsProps) =
|
||||
return {
|
||||
last,
|
||||
href,
|
||||
string
|
||||
string,
|
||||
};
|
||||
}),
|
||||
[path, loc]
|
||||
[path, loc],
|
||||
);
|
||||
|
||||
return (
|
||||
@@ -82,9 +82,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}`));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user