mirror of
https://github.com/outline/outline.git
synced 2026-11-25 07:04:37 +03:00
commit
05041380dc
1 file changed
+1
-1
@@ -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} />;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user