Skip to content

Commit

Permalink
Tutorial 6.2: Add generics type hint to CellSuccessProps (#6042)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Choudhury <dannychoudhury@gmail.com>
  • Loading branch information
Philzen and dac09 authored Jul 28, 2022
1 parent f118791 commit ab4fbc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/tutorial/chapter6/multiple-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export const Failure = ({ error }: CellFailureProps) => (
<div style={{ color: 'red' }}>Error: {error.message}</div>
)

export const Success = ({ comments }: CellSuccessProps) => {
export const Success = ({ comments }: CellSuccessProps<CommentsQuery>) => {
return (
// highlight-start
<>
Expand Down

0 comments on commit ab4fbc1

Please sign in to comment.