diff --git a/src/components/widgets/comment/CommentBox/ActionBar.tsx b/src/components/widgets/comment/CommentBox/ActionBar.tsx index b79dd4c8bb..2c9f299ce2 100644 --- a/src/components/widgets/comment/CommentBox/ActionBar.tsx +++ b/src/components/widgets/comment/CommentBox/ActionBar.tsx @@ -150,6 +150,7 @@ const SubmitButton = () => { text: textAtom, author: authorAtom, mail: mailAtom, + url: urlAtom, source: sourceAtom, avatar: avatarAtom, @@ -176,8 +177,9 @@ const SubmitButton = () => { const mail = jotaiStore.get(mailAtom) const avatar = jotaiStore.get(avatarAtom) const source = jotaiStore.get(sourceAtom) as any + const url = jotaiStore.get(urlAtom) - const commentDto: CommentDto = { text, author, mail, avatar, source } + const commentDto: CommentDto = { text, author, mail, avatar, source, url } if (isLogged) { delete commentDto.source