mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-14 01:16:48 +02:00
♻️ Replace useContext with useUtils
This commit is contained in:
parent
e792a2aaeb
commit
fca8948ea2
9 changed files with 12 additions and 12 deletions
|
@ -60,7 +60,7 @@ export const CreatePoll: React.FunctionComponent = () => {
|
|||
useUnmount(clear);
|
||||
|
||||
const posthog = usePostHog();
|
||||
const queryClient = trpc.useContext();
|
||||
const queryClient = trpc.useUtils();
|
||||
const createPoll = trpc.polls.create.useMutation();
|
||||
|
||||
return (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue