mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-07-27 04:32:32 +02:00
chore(deps): update flow-bin
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user