aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2021-07-21 04:42:31 -0500
committerFurkan Sahin <furkan-dev@proton.me>2021-07-21 04:42:31 -0500
commitf42a9a3052086a6369d6a5566c613fccc4d3c6d6 (patch)
treec2dd378edf0b457d9da2ce6eb6c7b73d1c497cbf /components
parent77c2f8e0640ea979d9e8d5f991a50dfcb7aa683f (diff)
Added a timestamp and sorts posts by timestamp
Diffstat (limited to 'components')
-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}) => (