Skip to content

fix: import isValidRecipe in useVideoEditor - #1740

Merged
magic-peach merged 1 commit into
mainfrom
fix/isvalidrecipe-import
Aug 14, 2026
Merged

fix: import isValidRecipe in useVideoEditor#1740
magic-peach merged 1 commit into
mainfrom
fix/isvalidrecipe-import

Conversation

@magic-peach

Copy link
Copy Markdown
Owner

main is currently red. Two PRs merged during the backlog triage were textually independent but semantically conflicting:

  • one added an isValidRecipe(merged) guard to decodeRecipe
  • the other rewrote the @/lib/types import line in the same file without that symbol

Git merged both cleanly, and bunx tsc --noEmit fails with:

src/hooks/useVideoEditor.ts(156,10): error TS2552: Cannot find name 'isValidRecipe'.

isValidRecipe is exported from @/lib/types and the call site is correct — only the import was missing. One-line fix.

Verified locally: tsc --noEmit clean and next build passes.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NhT15Aq6XUyhZSHa2HAh57

Two PRs merged during the backlog triage were textually independent but
semantically conflicting: one added an isValidRecipe(merged) guard to
decodeRecipe, the other rewrote the @/lib/types import line in the same
file without that symbol. Git merged both cleanly and main went red with
TS2552.

The function is exported from @/lib/types and the call site is correct —
only the import was missing. Verified with tsc --noEmit and next build.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NhT15Aq6XUyhZSHa2HAh57
@vercel

vercel Bot commented Aug 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
reframe Ready Ready Preview Aug 14, 2026 8:09pm

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@github-actions

Copy link
Copy Markdown
Contributor

⚠️ PR Format Issues — @magic-peach

Please fix the following before your PR can be reviewed:

  • ⚠️ No linked issue found. Add Closes #<issue-number> to your PR description.

Push new commits after fixing — this comment will update automatically.

📖 CONTRIBUTING.md

@github-actions github-actions Bot added level:beginner Beginner level - 20 pts type:bug Bug fix labels Aug 14, 2026
@github-actions

Copy link
Copy Markdown
Contributor

👋 Thanks for your PR, @magic-peach!

Welcome to Reframe — a browser-based video editor built for everyone 🎬

What happens next

  1. 🤖 Automated checks — build & TypeScript typecheck will run automatically
  2. Vercel preview — a preview deployment will be created (requires maintainer authorization for fork PRs)
  3. 👀 Code review — a maintainer will review your changes
  4. 🚀 Merge — once approved, your PR will be merged!

Quick checklist

  • PR title follows Conventional Commits (e.g. feat: add dark mode)
  • Linked the issue this PR closes (e.g. Closes #123)
  • Tested the changes locally (bun run dev)
  • Build passes (bun run build)

Useful links

Happy coding! 🎉

@github-actions

github-actions Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Claude encountered an error —— View job


I'll analyze this and get back to you.

@magic-peach
magic-peach merged commit 87f9270 into main Aug 14, 2026
12 of 14 checks passed
@magic-peach
magic-peach deleted the fix/isvalidrecipe-import branch August 14, 2026 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

level:beginner Beginner level - 20 pts type:bug Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant