undo devFreeze unintentional commit (#3466)
Undo the accidental commit. ### Change Type <!-- ❗ Please select a 'Scope' label ❗️ --> - [x] `sdk` — Changes the tldraw SDK - [ ] `dotcom` — Changes the tldraw.com web app - [ ] `docs` — Changes to the documentation, examples, or templates. - [ ] `vs code` — Changes to the vscode plugin - [ ] `internal` — Does not affect user-facing stuff <!-- ❗ Please select a 'Type' label ❗️ --> - [x] `bugfix` — Bug fix - [ ] `feature` — New feature - [ ] `improvement` — Improving existing features - [ ] `chore` — Updating dependencies, other boring stuff - [ ] `galaxy brain` — Architectural changes - [ ] `tests` — Changes to any test code - [ ] `tools` — Changes to infrastructure, CI, internal scripts, debugging tools, etc. - [ ] `dunno` — I don't know
This commit is contained in:
parent
8c02dab5fb
commit
63f20d1834
1 changed files with 0 additions and 2 deletions
|
@ -15,8 +15,6 @@ import { STRUCTURED_CLONE_OBJECT_PROTOTYPE } from '@tldraw/utils'
|
||||||
* @public
|
* @public
|
||||||
*/
|
*/
|
||||||
export function devFreeze<T>(object: T): T {
|
export function devFreeze<T>(object: T): T {
|
||||||
return object
|
|
||||||
|
|
||||||
if (process.env.NODE_ENV === 'production') {
|
if (process.env.NODE_ENV === 'production') {
|
||||||
return object
|
return object
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue