<QueryCell /> type inference improvement (#849)

* asserts that `query.data` is never `null` when using `<QueryCell />`
This commit is contained in:
Alex Johansson authored and GitHub committed 2021-10-04 10:48:40 +01:00
1 parent f70d92df7e
commit abe4f38a5e
2 files changed
+26 -7

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
import { CalendarIcon } from "@heroicons/react/outline";
import { useRouter } from "next/router";
import { QueryCell } from "@lib/hooks/QueryCell";
import { QueryCell } from "@lib/QueryCell";
import { inferQueryInput, trpc } from "@lib/trpc";
import BookingsShell from "@components/BookingsShell";