Skip to content

Commit

Permalink
Adds deprecation notice to QueryCell (#3977)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and joeauyeung committed Aug 26, 2022
1 parent 44fcdfe commit 7c560c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/web/lib/QueryCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export function QueryCell<TData, TError extends ErrorLike>(
export function QueryCell<TData, TError extends ErrorLike>(
opts: QueryCellOptionsNoEmpty<TData, TError>
): JSXElementOrNull;
/** @deprecated Use `trpc.useQuery` instead. */
export function QueryCell<TData, TError extends ErrorLike>(
opts: QueryCellOptionsNoEmpty<TData, TError> | QueryCellOptionsWithEmpty<TData, TError>
) {
Expand Down

0 comments on commit 7c560c6

Please sign in to comment.