mirror of
https://github.com/khairul169/code-share.git
synced 2026-10-24 11:53:58 +07:00
fix: add readonly mode to editor
This commit is contained in:
@@ -2,7 +2,7 @@ import { createContext, useContext } from "react";
|
||||
import type { ProjectSchema } from "~/server/db/schema/project";
|
||||
|
||||
type TProjectContext = {
|
||||
project: ProjectSchema;
|
||||
project: ProjectSchema & { isMutable: boolean };
|
||||
isCompact?: boolean;
|
||||
isEmbed?: boolean;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user