summaryrefslogtreecommitdiffstats
path: root/src/utils/hooks/use-article.tsx
Commit message (Collapse)AuthorAgeFilesLines
* fix(article): prevent TypeError on buildArmand Philippot2022-07-231-3/+13
| | | | | | 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-0/+24