From 0d95fef52e3099ca5bdcb5063deffbc609e558b7 Mon Sep 17 00:00:00 2001 From: Akshay Date: Wed, 2 Jun 2021 00:33:25 +0200 Subject: [PATCH] Fix: Code duplication --- src/templates/Typedoc/index.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/templates/Typedoc/index.jsx b/src/templates/Typedoc/index.jsx index 5adac54d..56c6a30a 100644 --- a/src/templates/Typedoc/index.jsx +++ b/src/templates/Typedoc/index.jsx @@ -28,10 +28,10 @@ export default function TypedocTemplate({ data, path, location, pageContext }) { } TypedocTemplate.propTypes = { - pageContext: PropTypes.object.isRequired, - location: PropTypes.object.isRequired, data: PropTypes.object.isRequired, - path: PropTypes.string.isRequired + path: PropTypes.string.isRequired, + pageContext: PropTypes.object.isRequired, + location: PropTypes.object.isRequired } export const TypedocQuery = graphql`