From ea91a3fdddae7c8f012151008b60698601e880a1 Mon Sep 17 00:00:00 2001 From: Bernardo Loureiro Date: Wed, 8 Aug 2018 11:56:08 -0300 Subject: [PATCH] Remove unused vars --- src/containers/AddressInput/AddressInput.js | 4 ---- src/containers/DateOfBirthForm/SelectDate.js | 2 -- 2 files changed, 6 deletions(-) diff --git a/src/containers/AddressInput/AddressInput.js b/src/containers/AddressInput/AddressInput.js index fa07ab8..7f61cb3 100644 --- a/src/containers/AddressInput/AddressInput.js +++ b/src/containers/AddressInput/AddressInput.js @@ -26,10 +26,6 @@ export class AddressInput extends React.Component { } render() { - const inputAddress = this.state.inputAddress; - const geocodedAddress = this.state.geocodedAddress; - const geocodedAddressLat = this.state.geocodedAddressLat; - const geocodedAddressLng = this.state.geocodedAddressLng; return (
diff --git a/src/containers/DateOfBirthForm/SelectDate.js b/src/containers/DateOfBirthForm/SelectDate.js index fd8db64..d5fcd86 100644 --- a/src/containers/DateOfBirthForm/SelectDate.js +++ b/src/containers/DateOfBirthForm/SelectDate.js @@ -5,7 +5,6 @@ import { SubBanner } from "components/SubBanner"; import STRINGS from 'configs/Strings'; import GLOBALS from 'configs/MainConfigs'; import calculatePreschoolGroup from 'utils/calculatePreschoolGroup'; -import monthDiff from 'utils/monthDiff'; import generateMonthsOptions from 'utils/generateMonthsOptions'; import generateYearsOptions from 'utils/generateYearsOptions'; import composeDateOfBirthMsg from 'utils/composeDateOfBirthMsg'; @@ -68,7 +67,6 @@ export class SelectDate extends React.Component { render() { const dateSelected = (this.state.monthOfBirth && this.state.yearOfBirth) ? true : false; const preeschoolCalcError = this.state.preeschoolCalcError; - const preschoolGroupName = this.state.preschoolGroupName; return (