diff --git a/src/editor/widgets/comment/CommentWidget.jsx b/src/editor/widgets/comment/CommentWidget.jsx index 067ecd2..0324b04 100644 --- a/src/editor/widgets/comment/CommentWidget.jsx +++ b/src/editor/widgets/comment/CommentWidget.jsx @@ -66,7 +66,7 @@ const CommentWidget = props => { const creator = body.creator?.id; // The current user - const me = Environment.user; + const me = Environment.user?.id; return me !== creator; }