Fix linting errors.

This commit is contained in:
Aleksander Helgaker 2019-08-25 13:20:50 +02:00
parent 488841cf47
commit fabb799f93
3 changed files with 4 additions and 1 deletions

View File

@ -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) => {

View File

@ -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 = {

View File

@ -34,6 +34,7 @@ export type Node = {
category?: string,
tags?: string[],
title: string,
socialImage?: string
},
html: string,
id: string