style: auto-format code

This commit is contained in:
Jean-Philippe Sirois
2019-07-27 17:32:39 -04:00
parent e9f1bec654
commit 22e4d68583
8 changed files with 50 additions and 45 deletions
+5 -2
View File
@@ -1,7 +1,10 @@
import React, { PropsWithChildren} from "react"
import React, { PropsWithChildren } from "react"
import * as SC from "./styles"
const Container = ({ children, ...restProps }: PropsWithChildren<{}>): JSX.Element => (
const Container = ({
children,
...restProps
}: PropsWithChildren<{}>): JSX.Element => (
<SC.ContainerWrapper {...restProps}>{children}</SC.ContainerWrapper>
)
+2 -2
View File
@@ -1,5 +1,5 @@
import styled from "styled-components";
import styled from "styled-components"
export const SidebarTitle = styled.h3`
text-transform: uppercase;
`;
`
+1
View File
@@ -6,6 +6,7 @@ html {
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
body {
margin: 0;
-webkit-font-smoothing: antialiased;
+5 -5
View File
@@ -3,10 +3,10 @@ import Helmet from "react-helmet"
import { useStaticQuery, graphql } from "gatsby"
interface SEOProps {
readonly description: string;
readonly lang: string;
readonly meta: object[];
readonly title: string;
readonly description: string
readonly lang: string
readonly meta: object[]
readonly title: string
}
const SEO = ({ description = "", lang = "en", meta = [], title }: SEOProps) => {
@@ -69,6 +69,6 @@ const SEO = ({ description = "", lang = "en", meta = [], title }: SEOProps) => {
]}
/>
)
};
}
export default SEO