diff --git a/.env b/.env new file mode 100644 index 00000000..b39d8ffd --- /dev/null +++ b/.env @@ -0,0 +1,3 @@ +REACT_APP_PLEBBIT_REACT_HOOKS_MOCK_CONTENT=1 +REACT_APP_PLEBBIT_REACT_HOOKS_MOCK_CONTENT_LOADING_TIME=1000 +REACT_APP_PLEBBIT_REACT_HOOKS_MOCK_CONTENT_DOUBLE_MEDIA=1 \ No newline at end of file diff --git a/src/components/CaptchaModal.jsx b/src/components/CaptchaModal.jsx index 2e23a18b..40802fd7 100644 --- a/src/components/CaptchaModal.jsx +++ b/src/components/CaptchaModal.jsx @@ -62,9 +62,9 @@ const CaptchaModal = () => { - {comment.displayName - ? comment.displayName.length > 15 + {comment.author?.displayName + ? comment.author?.displayName.length > 15 ? <> - {comment.displayName.slice(0, 15) + " (...)"} + {comment.author?.displayName.slice(0, 15) + " (...)"} : - {comment.displayName} + {comment.author?.displayName} : Anonymous}