From e424680fc013c291bd7eea4dc63b96401e5126a8 Mon Sep 17 00:00:00 2001 From: flu0r1ne Date: Wed, 21 Jul 2021 04:42:31 -0500 Subject: Added a timestamp and sorts posts by timestamp --- components/Breadcrumbs/breadcrumbs.module.scss | 2 +- components/Breadcrumbs/index.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'components') 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 = ({children, className, ...props}) => ( -
+ {Children.map(children, (child, index) => { return ( <> @@ -22,7 +22,7 @@ const Breadcrumbs : FC = ({children, className, ...props}) => ); })} -
+ ); const Crumb : FC = ({children, ...props}) => ( -- cgit v1.2.3