From 3aa8756d81f20d4a330d72a4db94241350b0175b Mon Sep 17 00:00:00 2001 From: Jeff Colombo Date: Mon, 4 Mar 2019 23:39:23 -0500 Subject: [PATCH] rename prop --- src/ts/app/PokemonApp.tsx | 2 +- src/ts/app/components/PokemonDisplay.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ts/app/PokemonApp.tsx b/src/ts/app/PokemonApp.tsx index dc4587b..099f4b8 100644 --- a/src/ts/app/PokemonApp.tsx +++ b/src/ts/app/PokemonApp.tsx @@ -185,7 +185,7 @@ class PokemonApp extends React.Component { { leaguePokemon !== null && } { widgets.pvp && leaguePokemon !== null && diff --git a/src/ts/app/components/PokemonDisplay.tsx b/src/ts/app/components/PokemonDisplay.tsx index ecb686c..081bbb6 100644 --- a/src/ts/app/components/PokemonDisplay.tsx +++ b/src/ts/app/components/PokemonDisplay.tsx @@ -15,14 +15,14 @@ import * as styles from 'app/styles/PokemonDisplay.scss'; export interface IPokemonDisplay { leaguePokemon : IPokemon; - temporaryNavigationIsActive : boolean; + isHighlighted : boolean; } export class PokemonDisplay extends React.Component { public render() { const { leaguePokemon, - temporaryNavigationIsActive + isHighlighted } = this.props; const dex = formatDexNumber(leaguePokemon.dex); @@ -30,7 +30,7 @@ export class PokemonDisplay extends React.Component { const pokemonInfoLeftColumnCss = classNames( styles.pokemonInfoLeftColumn, { - [styles.highlight]: temporaryNavigationIsActive + [styles.highlight]: isHighlighted } );