aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/hooks/use-mutation-observer.tsx
Commit message (Collapse)AuthorAgeFilesLines
* fix(projects): load content dynamically and refresh table of contentsArmand Philippot2022-09-211-0/+28
The previous way of handling content import was causing issue. So I use dynamic import instead. However, the table of contents was not displayed because the wrapper is first empty. I added a mutation observer to refresh the table of contents when the body is updated.