diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-01-11 15:28:08 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-01-11 15:33:04 +0100 |
| commit | 99014e5634c6216173bf90117750f95172924134 (patch) | |
| tree | a1e53640de7ecc7af4cfe4b29e3c78516504d485 /src/utils/helpers/rss.ts | |
| parent | 1a74d19cf4ad080e822e84472288c701ce001e60 (diff) | |
fix(toc): render on each route change and exclude aside titles
On subject pages for example, the table of contents was not updated on
route change. So I added router.asPath as dependency of useEffect.
I also changed the query to exclude all titles in aside (ToC, widgets).
Diffstat (limited to 'src/utils/helpers/rss.ts')
0 files changed, 0 insertions, 0 deletions
