diff --git a/frontend/components/Editor/components/HorizontalRule.js b/frontend/components/Editor/components/HorizontalRule.js index 375641ea..286a5acb 100644 --- a/frontend/components/Editor/components/HorizontalRule.js +++ b/frontend/components/Editor/components/HorizontalRule.js @@ -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 ; }