diff --git a/fragments/comments.js b/fragments/comments.js index ca7aa945..b33fe9c6 100644 --- a/fragments/comments.js +++ b/fragments/comments.js @@ -71,12 +71,6 @@ export const COMMENTS = gql` ...CommentFields comments { ...CommentFields - comments { - ...CommentFields - comments { - ...CommentFields - } - } } } } diff --git a/lib/constants.js b/lib/constants.js index e556ceb5..d679689b 100644 --- a/lib/constants.js +++ b/lib/constants.js @@ -15,7 +15,7 @@ export const UPLOAD_TYPES_ALLOW = [ 'image/jpeg', 'image/webp' ] -export const COMMENT_DEPTH_LIMIT = 10 +export const COMMENT_DEPTH_LIMIT = 8 export const MAX_TITLE_LENGTH = 80 export const MAX_POLL_CHOICE_LENGTH = 40 export const ITEM_SPAM_INTERVAL = '10m'