Skip to content

Commit 5555ca5

Browse files
committed
dont show hr
1 parent 6b5f988 commit 5555ca5

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

packages/app/src/app/pages/Sandbox/Editor/Workspace/screens/Comments/Dialog/Comment.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,10 @@ export const Comment = ({ source }) => (
5454
</Text>
5555
),
5656
code: props => <Code {...props} />,
57-
5857
link: props => <Link {...props}>{props.children}</Link>,
58+
linkReference: props => <Link {...props}>{props.children}</Link>,
5959
image: props => image(props),
60+
thematicBreak: () => null,
6061
imageReference: props => image(props),
6162
}}
6263
/>

packages/app/src/app/pages/Sandbox/Editor/Workspace/screens/Comments/Dialog/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ export const Dialog = props => {
2222
const { state, actions } = useOvermind();
2323
const [value, setValue] = useState('');
2424
const comment = state.editor.currentComment;
25-
const [position, setPosition] = React.useState({
26-
x: 200,
27-
y: 100,
25+
const [position, setPosition] = useState({
26+
x: props.x || 200,
27+
y: props.y || 100,
2828
});
2929

3030
const closeDialog = () => actions.editor.selectComment(null);

0 commit comments

Comments
 (0)