chore(next): remove deep copying of docPermissions in the Version View (#9491)

Removes unnecessary `deepCopyObject(docPermissions)` in the Version View
which slows down loading speed.
The comment seems to be resolved, I'm not getting this error and here
for example in the same case
3c0e832a9a/packages/next/src/views/Document/index.tsx (L327)
we don't do deep copying.
This commit is contained in:
Sasha
2024-11-25 16:20:22 +02:00
committed by GitHub
parent 4b4cfbeca7
commit 150c55de79
2 changed files with 3 additions and 11 deletions

View File

@@ -60,9 +60,9 @@ export interface Config {
user: User & {
collection: 'users';
};
jobs?: {
jobs: {
tasks: unknown;
workflows?: unknown;
workflows: unknown;
};
}
export interface UserAuthOperations {