From acb4f068439d7326d74e7e013341c405f653620d Mon Sep 17 00:00:00 2001 From: Jean-Philippe Sirois Date: Thu, 1 Oct 2020 16:41:14 -0400 Subject: [PATCH] refact: rename the outer element of PageNavigation --- src/components/PageNavigation/index.tsx | 4 ++-- src/components/PageNavigation/styles.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/PageNavigation/index.tsx b/src/components/PageNavigation/index.tsx index 8d6769d..fd14a83 100644 --- a/src/components/PageNavigation/index.tsx +++ b/src/components/PageNavigation/index.tsx @@ -13,7 +13,7 @@ interface IPageContentProps { export const PageNavigation: FC = ({ previous, next }) => { return ( - + {previous ? ( Previous @@ -40,6 +40,6 @@ export const PageNavigation: FC = ({ previous, next }) => { ) : (
)} -
+ ) } diff --git a/src/components/PageNavigation/styles.tsx b/src/components/PageNavigation/styles.tsx index 321917c..df8f1c8 100644 --- a/src/components/PageNavigation/styles.tsx +++ b/src/components/PageNavigation/styles.tsx @@ -3,7 +3,7 @@ import { Link } from "gatsby" import fontFamily from "../../design/typography" import ArrowRight from "../../icons/arrow-right.svg" -export const Content = styled.div` +export const PageNavigationWrapper = styled.div` display: flex; justify-content: space-between; align-content: center;