aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/hooks/use-comments.tsx
Commit message (Collapse)AuthorAgeFilesLines
* fix(article): prevent TypeError on buildArmand Philippot2022-07-231-5/+12
| | | | | | By switching to custom hooks for revalidating articles and comments, everything was working on development mode but articles failed to build for production.
* refactor(article): wrap useSWR with a custom hook to revalidate articleArmand Philippot2022-07-221-4/+4
|
* fix(comments): refresh comments on changes or new commentArmand Philippot2022-07-221-0/+33