From 11e3ee75fcab0ab54b2bc1713a402c5cc3070c2d Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Fri, 1 Dec 2023 17:59:30 +0100 Subject: refactor(pages): refine Topic pages * add useTopic and useTopicsList hooks to refresh data * add a table of contents * add Cypress tests --- src/utils/hooks/index.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/utils/hooks/index.ts') diff --git a/src/utils/hooks/index.ts b/src/utils/hooks/index.ts index 3fb0ad4..da4ed9e 100644 --- a/src/utils/hooks/index.ts +++ b/src/utils/hooks/index.ts @@ -27,3 +27,5 @@ export * from './use-thematics-list'; export * from './use-theme'; export * from './use-timeout'; export * from './use-toggle'; +export * from './use-topic'; +export * from './use-topics-list'; -- cgit v1.2.3