fix loading state

This commit is contained in:
Ishaan Dey
2024-05-11 18:13:01 -07:00
parent b496ab193d
commit 9bb5ed1517
3 changed files with 55 additions and 52 deletions

View File

@ -9,6 +9,7 @@ import { Suspense } from "react";
const CodeEditor = dynamic(() => import("@/components/editor"), {
ssr: false,
loading: () => <Loading />,
});
const getUserData = async (id: string) => {