radar/twist-v2

View on GitHub
frontend/src/Book/Note/Comments/CommentsQuery.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import gql from "graphql-tag"
import CommentFragment from "./CommentFragment"

export default gql`
  query commentsQuery($noteId: ID!) {
    comments(noteId: $noteId) {
      ...commentFragment
    }
  }

  ${CommentFragment}
`