diff options
| author | Armand Philippot <git@armandphilippot.com> | 2023-11-07 16:55:58 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2023-11-11 18:15:27 +0100 |
| commit | bd9c9ae7e2ae973969569dd434836de9f38b07d4 (patch) | |
| tree | 84905097c4f2c2db36794c20910e3893189a65e1 /src/components/organisms/layout/comments-list.fixture.ts | |
| parent | c9c1c90b30e243563bb4f731da15b3fe657556d2 (diff) | |
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)
Diffstat (limited to 'src/components/organisms/layout/comments-list.fixture.ts')
| -rw-r--r-- | src/components/organisms/layout/comments-list.fixture.ts | 2 |
1 files changed, 2 insertions, 0 deletions
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; |
