From d31df5b89de18dc58c6ec7694b1490be2c633387 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 21 Jun 2018 14:11:04 +0300 Subject: custom link property for Avatar --- vnext/src/components/Avatar.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'vnext/src') diff --git a/vnext/src/components/Avatar.js b/vnext/src/components/Avatar.js index c6dc71ec..73b885ad 100644 --- a/vnext/src/components/Avatar.js +++ b/vnext/src/components/Avatar.js @@ -1,4 +1,5 @@ import React from 'react'; +import PropTypes from 'prop-types'; import { Link } from 'react-router-dom'; import { UserType } from './Types'; @@ -6,7 +7,7 @@ import { UserType } from './Types'; export default function Avatar(props) { return (