Fix
This commit is contained in:
@ -5,7 +5,7 @@ import type { Props } from '../types';
|
|||||||
import { color } from 'styles/constants';
|
import { color } from 'styles/constants';
|
||||||
|
|
||||||
function HorizontalRule(props: Props) {
|
function HorizontalRule(props: Props) {
|
||||||
const { state, node } = this.props;
|
const { state, node } = props;
|
||||||
const active = state.isFocused && state.selection.hasEdgeIn(node);
|
const active = state.isFocused && state.selection.hasEdgeIn(node);
|
||||||
return <StyledHr active={active} />;
|
return <StyledHr active={active} />;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user