From f707d3d524d8d16e2bb780764f029d85fc57ecc0 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 26 Jul 2019 13:22:00 +0300 Subject: prop-types -> jsdoc --- vnext/src/ui/Post.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'vnext/src/ui/Post.js') diff --git a/vnext/src/ui/Post.js b/vnext/src/ui/Post.js index 662f9f78..99189632 100644 --- a/vnext/src/ui/Post.js +++ b/vnext/src/ui/Post.js @@ -1,8 +1,5 @@ import React, { useState } from 'react'; -import ReactRouterPropTypes from 'react-router-prop-types'; -import { UserType } from './Types'; - import qs from 'qs'; import Button from './Button'; @@ -49,9 +46,10 @@ export default function Post({ location, visitor, history }) { ); } - +/* Post.propTypes = { location: ReactRouterPropTypes.location, history: ReactRouterPropTypes.history.isRequired, visitor: UserType }; +*/ \ No newline at end of file -- cgit v1.2.3