From 65997943686cb65caf40218c5f7a0123ccb93935 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 12 Apr 2019 00:51:04 +0300 Subject: Fix prop-types warnings --- vnext/src/App.js | 10 +++++----- vnext/src/components/Users.js | 15 +++++++-------- 2 files changed, 12 insertions(+), 13 deletions(-) (limited to 'vnext') diff --git a/vnext/src/App.js b/vnext/src/App.js index 687f5225..b3d821e4 100644 --- a/vnext/src/App.js +++ b/vnext/src/App.js @@ -21,7 +21,7 @@ import cookies from 'react-cookies'; import { me } from './api'; -export default function App(props) { +export default function App() { let params = qs.parse(window.location.search.substring(1)); if (params.hash) { cookies.save('hash', params.hash, { path: '/' }); @@ -81,7 +81,7 @@ export default function App(props) { }