mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-01-13 15:29:16 +01:00
Fix linting errors.
This commit is contained in:
parent
488841cf47
commit
fabb799f93
@ -9,7 +9,8 @@ import styles from './Layout.module.scss';
|
||||
type Props = {
|
||||
children: ReactNode,
|
||||
title: string,
|
||||
description?: string
|
||||
description?: string,
|
||||
socialImage? :string
|
||||
};
|
||||
|
||||
const Layout = ({ children, title, description, socialImage }: Props) => {
|
||||
|
@ -4,6 +4,7 @@ import renderer from 'react-test-renderer';
|
||||
import { useStaticQuery, StaticQuery } from 'gatsby';
|
||||
import siteMetadata from '../../../jest/__fixtures__/site-metadata';
|
||||
import Layout from './Layout';
|
||||
import type { RenderCallback } from '../../types';
|
||||
|
||||
describe('Layout', () => {
|
||||
const props = {
|
||||
|
@ -34,6 +34,7 @@ export type Node = {
|
||||
category?: string,
|
||||
tags?: string[],
|
||||
title: string,
|
||||
socialImage?: string
|
||||
},
|
||||
html: string,
|
||||
id: string
|
||||
|
Loading…
Reference in New Issue
Block a user