From cf321496d4b199d23209988e7760ec69b7bdc8b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Omar=20L=C3=B3pez?= Date: Fri, 26 Aug 2022 03:32:58 -0600 Subject: [PATCH] Adds deprecation notice to QueryCell (#3977) Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- apps/web/lib/QueryCell.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/web/lib/QueryCell.tsx b/apps/web/lib/QueryCell.tsx index 7259feebce..3656f7e78a 100644 --- a/apps/web/lib/QueryCell.tsx +++ b/apps/web/lib/QueryCell.tsx @@ -56,6 +56,7 @@ export function QueryCell( export function QueryCell( opts: QueryCellOptionsNoEmpty ): JSXElementOrNull; +/** @deprecated Use `trpc.useQuery` instead. */ export function QueryCell( opts: QueryCellOptionsNoEmpty | QueryCellOptionsWithEmpty ) {