Run prettier

This commit is contained in:
Kevin Kandlbinder 2022-02-13 18:34:38 +00:00 committed by GitHub
parent 5ce412b622
commit 3ba289e1b1
15 changed files with 266 additions and 175 deletions

View file

@ -6,16 +6,25 @@ import { Link, Trans } from "gatsby-plugin-react-i18next";
import LanguageSwitcher from "../components/languageSwitcher";
type LayoutProps = {
description?: string,
meta?: any[],
title: string,
transparentTopbar?: boolean,
seoAdditional?: any,
image?: string,
speakable?: any
}
description?: string;
meta?: any[];
title: string;
transparentTopbar?: boolean;
seoAdditional?: any;
image?: string;
speakable?: any;
};
const Layout = ({description, meta, title, image, speakable, seoAdditional, transparentTopbar, children}: React.PropsWithChildren<LayoutProps>) => {
const Layout = ({
description,
meta,
title,
image,
speakable,
seoAdditional,
transparentTopbar,
children,
}: React.PropsWithChildren<LayoutProps>) => {
return (
<>
<SEO
@ -50,7 +59,7 @@ const Layout = ({description, meta, title, image, speakable, seoAdditional, tran
<LanguageSwitcher />
</>
);
}
};
Layout.defaultProps = {
module: `none`,