diff --git a/app/screens/Detail/components/CinematicMove.js b/app/screens/Detail/components/CinematicMove.js index a0485bd..5492c39 100644 --- a/app/screens/Detail/components/CinematicMove.js +++ b/app/screens/Detail/components/CinematicMove.js @@ -37,7 +37,7 @@ const CinematicMove = React.createClass({ {`Crit Chance: ${critChance.toFixed(2)}%`} ) - const thisMove = move === myMove ? 'pokemon-move-item mine' : 'pokemon-move-item notmine' + const thisMove = move.movement_id === myMove.movement_id ? 'pokemon-move-item mine' : 'pokemon-move-item notmine' return (
diff --git a/app/screens/Detail/components/QuickMove.js b/app/screens/Detail/components/QuickMove.js index 07b65f9..c7d801e 100644 --- a/app/screens/Detail/components/QuickMove.js +++ b/app/screens/Detail/components/QuickMove.js @@ -30,7 +30,7 @@ const QuickMove = React.createClass({ {`EGPS: ${move.egps.toFixed(2)}`} ) - const thisMove = move === myMove ? 'pokemon-move-item mine' : 'pokemon-move-item notmine' + const thisMove = move.movement_id === myMove.movement_id ? 'pokemon-move-item mine' : 'pokemon-move-item notmine' return (