From 2bbedd9def2a782f370fb5280994ea0ecbf8a7c7 Mon Sep 17 00:00:00 2001
From: Christopher Speller <crspeller@gmail.com>
Date: Thu, 18 May 2017 09:28:18 -0400
Subject: Updating client dependencies. Switching to yarn.  (#6433)

* Updating client dependancies. Switching to using yarn.

* Updating React

* Moving pure components to using function syntax (performance gains with newer react version)

* Updating client dependancies.

* Ignore .yarninstall

* Enabling pre-lockfile because it's the entire point of using yarn.

* Removing old webpack config

* Moving to new prop-types

* Fixing ESLint Errors

* Updating jest snapshots.

* Cleaning up package.json
---
 webapp/components/profile_popover.jsx | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

(limited to 'webapp/components/profile_popover.jsx')

diff --git a/webapp/components/profile_popover.jsx b/webapp/components/profile_popover.jsx
index 63bd99ac4..3c57f41b6 100644
--- a/webapp/components/profile_popover.jsx
+++ b/webapp/components/profile_popover.jsx
@@ -15,6 +15,7 @@ const PreReleaseFeatures = Constants.PRE_RELEASE_FEATURES;
 import {Popover, OverlayTrigger, Tooltip} from 'react-bootstrap';
 import {FormattedMessage} from 'react-intl';
 import {browserHistory} from 'react-router/es6';
+import PropTypes from 'prop-types';
 import React from 'react';
 
 export default class ProfilePopover extends React.Component {
@@ -259,10 +260,10 @@ export default class ProfilePopover extends React.Component {
 }
 
 ProfilePopover.propTypes = Object.assign({
-    src: React.PropTypes.string.isRequired,
-    user: React.PropTypes.object.isRequired,
-    status: React.PropTypes.string,
-    isBusy: React.PropTypes.bool,
-    hide: React.PropTypes.func
+    src: PropTypes.string.isRequired,
+    user: PropTypes.object.isRequired,
+    status: PropTypes.string,
+    isBusy: PropTypes.bool,
+    hide: PropTypes.func
 }, Popover.propTypes);
 delete ProfilePopover.propTypes.id;
-- 
cgit v1.2.3-1-g7c22

