From 8bd9784acdee6871ad70e86d0d7120299bf76969 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Tue, 1 Mar 2022 22:05:08 +0100
Subject: refactor: split posts meta into smaller components

---
 src/components/Layouts/Layout.tsx | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'src/components/Layouts/Layout.tsx')

diff --git a/src/components/Layouts/Layout.tsx b/src/components/Layouts/Layout.tsx
index 845d6fa..23c1d0e 100644
--- a/src/components/Layouts/Layout.tsx
+++ b/src/components/Layouts/Layout.tsx
@@ -19,9 +19,8 @@ const Layout = ({
   isHome?: boolean;
 }) => {
   const intl = useIntl();
-  const { locale } = useRouter();
+  const { asPath, locale } = useRouter();
   const ref = useRef<HTMLSpanElement>(null);
-  const { asPath } = useRouter();
 
   useEffect(() => {
     ref.current?.focus();
-- 
cgit v1.2.3

