diff --git a/src/components/Dashboard.tsx b/src/components/Dashboard.tsx index d7111502..25aa5408 100644 --- a/src/components/Dashboard.tsx +++ b/src/components/Dashboard.tsx @@ -24,7 +24,7 @@ const Dashboard = ({subscriptionPlan}: PageProps) => { const [currentlyDeletingFile, setCurrentlyDeletingFile] = useState(null) - const utils = trpc.useContext() + const utils = trpc.useUtils() const { data: files, isLoading } = trpc.getUserFiles.useQuery()