aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/organisms/layout/comment.fixture.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/organisms/layout/comment.fixture.ts')
-rw-r--r--src/components/organisms/layout/comment.fixture.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/components/organisms/layout/comment.fixture.ts b/src/components/organisms/layout/comment.fixture.ts
index bb18d22..84aa20e 100644
--- a/src/components/organisms/layout/comment.fixture.ts
+++ b/src/components/organisms/layout/comment.fixture.ts
@@ -23,9 +23,7 @@ export const meta = {
export const id = 5;
-export const saveComment = async () => {
- /** Do nothing. */
-};
+export const saveComment = () => undefined;
export const data: UserCommentProps = {
approved: true,
@@ -33,5 +31,5 @@ export const data: UserCommentProps = {
id,
meta,
parentId: 0,
- saveComment,
+ onSubmit: saveComment,
};