mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-07-27 04:32:32 +02:00
Fix linting errors.
This commit is contained in:
@@ -13,7 +13,12 @@ type Props = {
|
||||
socialImage? :string
|
||||
};
|
||||
|
||||
const Layout = ({ children, title, description, socialImage }: Props) => {
|
||||
const Layout = ({
|
||||
children,
|
||||
title,
|
||||
description,
|
||||
socialImage
|
||||
}: Props) => {
|
||||
const { author, url } = useSiteMetadata();
|
||||
const metaImage = socialImage != null ? socialImage : author.photo;
|
||||
const metaImageUrl = url + withPrefix(metaImage);
|
||||
@@ -32,7 +37,7 @@ const Layout = ({ children, title, description, socialImage }: Props) => {
|
||||
</Helmet>
|
||||
{children}
|
||||
</div>
|
||||
)
|
||||
);
|
||||
};
|
||||
|
||||
export default Layout;
|
||||
|
Reference in New Issue
Block a user