This commit is contained in:
Tom Moor
2017-10-20 21:23:13 -07:00
parent 7c1e80cf42
commit d91c77bfcd

View File

@ -5,7 +5,7 @@ import type { Props } from '../types';
import { color } from 'styles/constants';
function HorizontalRule(props: Props) {
const { state, node } = this.props;
const { state, node } = props;
const active = state.isFocused && state.selection.hasEdgeIn(node);
return <StyledHr active={active} />;
}