From bd9c9ae7e2ae973969569dd434836de9f38b07d4 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Tue, 7 Nov 2023 16:55:58 +0100 Subject: refactor(components): split Comment component into 3 components * add ApprovedComment, PendingComment and ReplyCommentForm components * let consumer handle reply form visibility * move structured data into article page (each article already has the comments data and already handle json ltd schema so I prefered to move the schema in the final consumer instead of adding a script element foreach comment) --- src/components/organisms/layout/comments-list.fixture.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/components/organisms/layout/comments-list.fixture.ts') diff --git a/src/components/organisms/layout/comments-list.fixture.ts b/src/components/organisms/layout/comments-list.fixture.ts index 30a4f11..c6a1891 100644 --- a/src/components/organisms/layout/comments-list.fixture.ts +++ b/src/components/organisms/layout/comments-list.fixture.ts @@ -104,3 +104,5 @@ export const comments: SingleComment[] = [ replies: [], }, ]; + +export const saveComment = () => undefined; -- cgit v1.2.3