Skip to content

Commit

Permalink
Сделал отображение подзаметок в пошереной заметке
Browse files Browse the repository at this point in the history
  • Loading branch information
YarikMix committed May 26, 2024
1 parent 0174f1d commit 718b43a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion public/src/components/ViewerWrapper/ViewerWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ export class ViewerWrapper extends ScReact.Component<ViewerWrapperProps, any> {
private noteContentRef
private viewerRef

componentDidMount() {
componentDidUpdate() {
console.log("componentDidUpdate")
this.noteContentRef.innerHTML = ""
new Viewer(
this.props.note.data.content,
Expand Down

0 comments on commit 718b43a

Please sign in to comment.