chore(deps): update flow-bin

This commit is contained in:
alxshelepenok
2019-07-19 23:38:20 +03:00
parent 49c10e7a57
commit 98ffd67d23
4 changed files with 14 additions and 9 deletions

View File

@@ -1,3 +1,4 @@
// @flow
import React from 'react';
import { graphql } from 'gatsby';
import Layout from '../components/Layout';
@@ -6,7 +7,9 @@ import { useSiteMetadata } from '../hooks';
import type { MarkdownRemark } from '../types';
type Props = {
data: MarkdownRemark
data: {
markdownRemark: MarkdownRemark
}
};
const PostTemplate = ({ data }: Props) => {
@@ -21,7 +24,6 @@ const PostTemplate = ({ data }: Props) => {
);
};
export const query = graphql`
query PostBySlug($slug: String!) {
markdownRemark(fields: { slug: { eq: $slug } }) {
@@ -41,5 +43,4 @@ export const query = graphql`
}
`;
export default PostTemplate;