From 2bbedd9def2a782f370fb5280994ea0ecbf8a7c7 Mon Sep 17 00:00:00 2001 From: Christopher Speller 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/tutorial/tutorial_intro_screens.jsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'webapp/components/tutorial/tutorial_intro_screens.jsx') diff --git a/webapp/components/tutorial/tutorial_intro_screens.jsx b/webapp/components/tutorial/tutorial_intro_screens.jsx index 78203fec0..00f7db270 100644 --- a/webapp/components/tutorial/tutorial_intro_screens.jsx +++ b/webapp/components/tutorial/tutorial_intro_screens.jsx @@ -17,13 +17,15 @@ import AppIcons from 'images/appIcons.png'; const NUM_SCREENS = 3; +import PropTypes from 'prop-types'; + import React from 'react'; export default class TutorialIntroScreens extends React.Component { static get propTypes() { return { - townSquare: React.PropTypes.object, - offTopic: React.PropTypes.object + townSquare: PropTypes.object, + offTopic: PropTypes.object }; } constructor(props) { -- cgit v1.2.3-1-g7c22