chore(studio): fix a comment that read as a repo path and cut one added comment

This commit is contained in:
Miguel Angel Simon Sierra
2026-10-02 20:12:49 -07:00
parent e0b42ec879
commit 3dfff87086
2 changed files with 1 additions and 2 deletions
@@ -49,7 +49,6 @@ export interface UseGsapAwareEditingParams {
domEditSelection: DomEditSelection | null;
selectedGsapAnimations: GsapAnimation[];
gsapCommitMutation: CommitMutation | null;
/** The open composition: where a selection with no source file writes. */
activeCompPath?: string | null;
previewIframeRef: React.RefObject<HTMLIFrameElement | null>;
showToast: (message: string, tone?: "error" | "info") => void;
@@ -260,7 +260,7 @@ export function usePreviewPersistence({
// ── Migrate legacy studio-motion.json ──
// Projects that used the old JSON-file approach may still have a populated
// `.hyperframes/studio-motion.json`. The studio no longer reads from it, but
// studio-motion.json in the project's .hyperframes folder. The studio no longer reads it, but
// the legacy render-script injection in `preview.ts` / `vite.studioMotion.ts`
// could still fire alongside the new seek-reapply runtime. Empty the file so
// the legacy codepath no-ops.