From 48faf72fdc992d0e39219caf6b96dc1658a52a59 Mon Sep 17 00:00:00 2001 From: Richard Lewis Date: Tue, 1 Aug 2017 21:00:18 +0100 Subject: [PATCH] Disable eslint rule --- src/components/views/elements/AppWarning.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/views/elements/AppWarning.js b/src/components/views/elements/AppWarning.js index 372535e069..944f1422e6 100644 --- a/src/components/views/elements/AppWarning.js +++ b/src/components/views/elements/AppWarning.js @@ -1,8 +1,8 @@ -import React from 'react'; +import React from 'react'; // eslint-disable-line no-unused-vars import PropTypes from 'prop-types'; import { _t } from '../../../languageHandler'; -function AppWarning(props) { +const AppWarning = (props) => { return (
@@ -13,7 +13,7 @@ function AppWarning(props) {
); -} +}; AppWarning.propTypes = { errorMsg: PropTypes.string,