small changes

This commit is contained in:
Ishaan Dey
2024-05-20 09:49:47 -07:00
parent bf35c2bf82
commit a3dd0d6598
3 changed files with 40 additions and 3 deletions

View File

@ -5,6 +5,8 @@ import { currentUser } from "@clerk/nextjs";
import { notFound, redirect } from "next/navigation";
import Editor from "@/components/editor";
export const revalidate = 0;
const getUserData = async (id: string) => {
const userRes = await fetch(
`https://database.ishaan1013.workers.dev/api/user?id=${id}`