aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/organisms/layout/comment.stories.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/organisms/layout/comment.stories.tsx')
-rw-r--r--src/components/organisms/layout/comment.stories.tsx17
1 files changed, 2 insertions, 15 deletions
diff --git a/src/components/organisms/layout/comment.stories.tsx b/src/components/organisms/layout/comment.stories.tsx
index 9c33ba3..7426fc3 100644
--- a/src/components/organisms/layout/comment.stories.tsx
+++ b/src/components/organisms/layout/comment.stories.tsx
@@ -14,7 +14,7 @@ export default {
component: UserComment,
args: {
canReply: true,
- saveComment,
+ onSubmit: saveComment,
},
argTypes: {
author: {
@@ -59,19 +59,6 @@ export default {
required: true,
},
},
- Notice: {
- control: {
- type: null,
- },
- description: 'A component to display a success or error message.',
- table: {
- category: 'Options',
- },
- type: {
- name: 'function',
- required: false,
- },
- },
parentId: {
control: {
type: null,
@@ -90,7 +77,7 @@ export default {
value: {},
},
},
- saveComment: {
+ onSubmit: {
control: {
type: null,
},