mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-01-14 07:41:50 +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 = {
|
type Props = {
|
||||||
children: ReactNode,
|
children: ReactNode,
|
||||||
title: string,
|
title: string,
|
||||||
description?: string
|
description?: string,
|
||||||
|
socialImage? :string
|
||||||
};
|
};
|
||||||
|
|
||||||
const Layout = ({ children, title, description, socialImage }: Props) => {
|
const Layout = ({ children, title, description, socialImage }: Props) => {
|
||||||
|
@ -4,6 +4,7 @@ import renderer from 'react-test-renderer';
|
|||||||
import { useStaticQuery, StaticQuery } from 'gatsby';
|
import { useStaticQuery, StaticQuery } from 'gatsby';
|
||||||
import siteMetadata from '../../../jest/__fixtures__/site-metadata';
|
import siteMetadata from '../../../jest/__fixtures__/site-metadata';
|
||||||
import Layout from './Layout';
|
import Layout from './Layout';
|
||||||
|
import type { RenderCallback } from '../../types';
|
||||||
|
|
||||||
describe('Layout', () => {
|
describe('Layout', () => {
|
||||||
const props = {
|
const props = {
|
||||||
|
@ -34,6 +34,7 @@ export type Node = {
|
|||||||
category?: string,
|
category?: string,
|
||||||
tags?: string[],
|
tags?: string[],
|
||||||
title: string,
|
title: string,
|
||||||
|
socialImage?: string
|
||||||
},
|
},
|
||||||
html: string,
|
html: string,
|
||||||
id: string
|
id: string
|
||||||
|
Loading…
Reference in New Issue
Block a user