aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/hooks/use-match-media
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2023-11-28 15:09:04 +0100
committerArmand Philippot <git@armandphilippot.com>2023-11-28 16:21:57 +0100
commitab81df7f3d317281a05caec18e2cfd89dc26bc7a (patch)
treee7c8fbdd238ebf514aa00eec98434f50ed69be73 /src/utils/hooks/use-match-media
parentff79add1d59375817a10331a35458cca3c419cfe (diff)
refactor(services): avoid nested fetchers
If we use fetchPostsCount inside fetchAllPostsSlugs, we might have problems to test fetchAllPostsSlugs failure. So it is better to let the consumer pass the posts count as an argument. The same applies to thematics and topics.
Diffstat (limited to 'src/utils/hooks/use-match-media')
0 files changed, 0 insertions, 0 deletions