diff --git a/packages/playground/src/shared/dom/Scene.tsx b/packages/playground/src/shared/dom/Scene.tsx index 0d9b9a7..db9f5bf 100644 --- a/packages/playground/src/shared/dom/Scene.tsx +++ b/packages/playground/src/shared/dom/Scene.tsx @@ -7,8 +7,6 @@ import {onChange, types} from '@theatre/core' import type {IScrub, IStudio} from '@theatre/studio' import type {ShorthandCompoundPropsToInitialValue} from '@theatre/core/propTypes/internals' -studio.initialize({usePersistentStorage: false}) - const textInterpolate = (left: string, right: string, progression: number) => { if (!left || right.startsWith(left)) { const length = Math.floor( @@ -223,7 +221,7 @@ export const Scene: React.FC<{project: IProject}> = ({project}) => { {boxes.map((id) => ( diff --git a/theatre/core/src/sheets/TheatreSheet.ts b/theatre/core/src/sheets/TheatreSheet.ts index f0940e4..129cf01 100644 --- a/theatre/core/src/sheets/TheatreSheet.ts +++ b/theatre/core/src/sheets/TheatreSheet.ts @@ -99,7 +99,7 @@ export default class TheatreSheet implements ISheet { const internal = privateAPI(this) const sanitizedPath = validateAndSanitiseSlashedPathOrThrow( key, - `sheet.object("${key}", ...)`, + `sheet.object`, ) const existingObject = internal.getObject(sanitizedPath as ObjectAddressKey)