Adds deprecation notice to QueryCell (#3977)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>pull/3966/head^2
parent
c6e54d9d9d
commit
cf321496d4
|
@ -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>
|
||||
) {
|
||||
|
|
Loading…
Reference in New Issue