aboutsummaryrefslogtreecommitdiff
path: root/components/Breadcrumbs
diff options
context:
space:
mode:
Diffstat (limited to 'components/Breadcrumbs')
-rw-r--r--components/Breadcrumbs/breadcrumbs.module.scss2
-rw-r--r--components/Breadcrumbs/index.tsx4
2 files changed, 3 insertions, 3 deletions
diff --git a/components/Breadcrumbs/breadcrumbs.module.scss b/components/Breadcrumbs/breadcrumbs.module.scss
index 104eec2..6facea4 100644
--- a/components/Breadcrumbs/breadcrumbs.module.scss
+++ b/components/Breadcrumbs/breadcrumbs.module.scss
@@ -12,4 +12,4 @@
.divider {
margin: 0 0.3rem;
-} \ No newline at end of file
+}
diff --git a/components/Breadcrumbs/index.tsx b/components/Breadcrumbs/index.tsx
index ed650e3..c5a17b8 100644
--- a/components/Breadcrumbs/index.tsx
+++ b/components/Breadcrumbs/index.tsx
@@ -9,7 +9,7 @@ export type BreadcrumbsProps = {
};
const Breadcrumbs : FC<BreadcrumbsProps> = ({children, className, ...props}) => (
- <div className={clsx(styles.breadcrumbs, className)} {...props}>
+ <span className={clsx(styles.breadcrumbs, className)} {...props}>
{Children.map(children, (child, index) => {
return (
<>
@@ -22,7 +22,7 @@ const Breadcrumbs : FC<BreadcrumbsProps> = ({children, className, ...props}) =>
</>
);
})}
- </div>
+ </span>
);
const Crumb : FC = ({children, ...props}) => (