Skip to content

Scheduling infrastructure for absolutely everyone.

Adds deprecation notice to QueryCell (#3977)

Omar Lópezcf321496d4b1
diff --git a/apps/web/lib/QueryCell.tsx b/apps/web/lib/QueryCell.tsx
index 7259feebce9..3656f7e78af 100644
--- a/apps/web/lib/QueryCell.tsx
+++ b/apps/web/lib/QueryCell.tsx
@@ -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>
) {