aboutsummaryrefslogtreecommitdiffstats
path: root/tests/utils/index.tsx
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-09-21 13:50:18 +0200
committerArmand Philippot <git@armandphilippot.com>2022-09-21 13:50:18 +0200
commita5e6692f6dcab2157dc92b509f61418c06b2ebd7 (patch)
treeb5cebad901d8bc2f24c66b82ce7257c7da0539f1 /tests/utils/index.tsx
parent08c7b3d0eb2ced622cdd3c4d14a3958ac8161cb8 (diff)
fix(projects): load content dynamically and refresh table of contents
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.
Diffstat (limited to 'tests/utils/index.tsx')
0 files changed, 0 insertions, 0 deletions