1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00

Fix: Remove unused import, add proptype

This commit is contained in:
Akshay 2021-05-24 20:13:16 +02:00
parent b99f41c0dc
commit d0cdcd29e1

View File

@ -1,4 +1,4 @@
import React, { useState } from 'react' import React from 'react'
import PropTypes from 'prop-types' import PropTypes from 'prop-types'
import Layout from '../../components/Layout' import Layout from '../../components/Layout'
import HeaderSection from '../../components/HeaderSection' import HeaderSection from '../../components/HeaderSection'
@ -103,5 +103,6 @@ export default function MarkdownList({ location, pageContext }) {
} }
MarkdownList.propTypes = { MarkdownList.propTypes = {
pageContext: PropTypes.object.isRequired pageContext: PropTypes.object.isRequired,
location: PropTypes.object.isRequired
} }