diff --git a/src/components/Footer/Footer.tsx b/src/components/Footer/Footer.tsx index a6aaf2fb..99351218 100644 --- a/src/components/Footer/Footer.tsx +++ b/src/components/Footer/Footer.tsx @@ -255,7 +255,7 @@ const Footer: React.FC = ({ left: ["10px", "auto"], }} > - {t("©2022 All rights reserved")} + {t(`©${new Date().getFullYear()} All rights reserved`)} diff --git a/src/components/Svg/Icons/Docs.tsx b/src/components/Svg/Icons/Docs.tsx index 51ef0ab0..656db012 100644 --- a/src/components/Svg/Icons/Docs.tsx +++ b/src/components/Svg/Icons/Docs.tsx @@ -1,8 +1,9 @@ /** @jsxImportSource theme-ui */ import React from "react"; import { SvgProps, rotation } from "./types"; +import { Flex } from "../../Flex"; -const Docs: React.FC = ({ direction = "right", color = "primaryBright", width, getStyles }) => { +const Docs: React.FC = ({ direction = "right", color = "primaryBright", getStyles }) => { const deg: rotation = { left: 180, up: 270, @@ -15,7 +16,7 @@ const Docs: React.FC = ({ direction = "right", color = "primaryBright" }); return ( - +