From 9b398a018ae92b632f6876eed63404b70bc7fe86 Mon Sep 17 00:00:00 2001 From: knod Date: Thu, 29 Nov 2018 09:17:25 -0500 Subject: [PATCH] Messes with names --- src/components/prompts/PredictionsWarning.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/prompts/PredictionsWarning.js b/src/components/prompts/PredictionsWarning.js index 5d20e714..2ee19c43 100644 --- a/src/components/prompts/PredictionsWarning.js +++ b/src/components/prompts/PredictionsWarning.js @@ -15,7 +15,7 @@ import { * @param {function} toggleDistrustConfirmed - function to set the termsAccepted in app state * @param {object} translations - object containing translations */ -class PredictionsWarningComp extends Component { +class PredictionsWarning extends Component { state = { checkbox1: false, @@ -122,9 +122,9 @@ class PredictionsWarningComp extends Component { ); // ends return() }; // Ends render() -}; // Ends +}; // Ends -const PredictionsWarning = withRouter(PredictionsWarningComp); +const wrappedWarning = withRouter(PredictionsWarning); -export { PredictionsWarning }; +export { wrappedWarning as PredictionsWarning };