Proper caching

This commit is contained in:
Atridad Lahiji 2023-08-28 07:49:00 -06:00 committed by atridadl
parent 581f3004dc
commit 28910c1dcd
No known key found for this signature in database
3 changed files with 4 additions and 3 deletions

View file

@ -58,8 +58,5 @@
"typescript": "^5.2.2",
"utf-8-validate": "5.0.2",
"ws": "^8.13.0"
},
"ct3aMetadata": {
"initVersion": "7.5.9"
}
}

View file

@ -8,6 +8,8 @@ import { env } from "~/env.mjs";
import { useUser } from "@clerk/nextjs";
import { trpc } from "../_trpc/client";
export const dynamic = "force-dynamic";
const RoomList = () => {
const { isSignedIn, user } = useUser();

View file

@ -28,6 +28,8 @@ import type { PresenceItem } from "~/utils/types";
import { useUser } from "@clerk/nextjs";
import { trpc } from "~/app/_trpc/client";
export const dynamic = "force-dynamic";
const Room: NextPage = () => {
const { isSignedIn } = useUser();
return (