From 31782cb11a272466b6b9f1e4d6cc0c698504d97f Mon Sep 17 00:00:00 2001 From: Ian Storm Taylor Date: Fri, 22 Jul 2016 13:28:38 -0700 Subject: [PATCH] remove selection state handling from image block in examples --- examples/images/index.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/examples/images/index.js b/examples/images/index.js index 4870f09bf..f654c4035 100644 --- a/examples/images/index.js +++ b/examples/images/index.js @@ -16,12 +16,10 @@ import { Map } from 'immutable' const NODES = { image: (props) => { const { node, state } = props - const { data } = node - const isActive = state.isFocused && state.blocks.includes(node) - const src = data.get('src') + const src = node.data.get('src') return ( - + ) }