Skip to content

fix: remove runtime errors and clean console#918

Open
Pravallika21-nama wants to merge 2 commits into
magic-peach:mainfrom
Pravallika21-nama:clean-final-pr
Open

fix: remove runtime errors and clean console#918
Pravallika21-nama wants to merge 2 commits into
magic-peach:mainfrom
Pravallika21-nama:clean-final-pr

Conversation

@Pravallika21-nama
Copy link
Copy Markdown

@Pravallika21-nama Pravallika21-nama commented May 22, 2026

closes #830

What does this PR do?

  • Removes leftover console.log statements from useVideoEditor
  • Adds safety check to prevent runtime errors when accessing first step

Why is this needed?

  • Prevents potential runtime crashes
  • Keeps console clean in production
  • Improves code reliability

Changes made

  • Added null check for TOUR_STEPS[0]
  • Removed unnecessary console logs

How to test?

  1. Run the app locally
  2. Open the video editor
  3. Ensure no console errors appear
  4. Verify functionality works as expected

Screenshots / Recording

Recording.2026-05-21.232521-reframe.mp4

Checklist

  • Code compiles without errors
  • No console warnings/errors
  • Changes are minimal and focused
  • Tested locally

git rebase --continue
git rebase --continue
@vercel
Copy link
Copy Markdown

vercel Bot commented May 22, 2026

@Pravallika21-nama is attempting to deploy a commit to the magic-peach1's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link
Copy Markdown
Contributor

👋 Thanks for your PR, @Pravallika21-nama!

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 added level:beginner Beginner level - 20 pts type:bug Bug fix type:testing Testing labels May 22, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 22, 2026

✅ PR Format Check Passed — @Pravallika21-nama

Basic format checks passed. A maintainer will review your code changes.

This does not mean the PR is approved — it just means the format is correct.

@Pravallika21-nama
Copy link
Copy Markdown
Author

Hy @magic-peach please validate and checkout my Pr incase of errors please update the work I would able to work on it
Thanking you

@Pravallika21-nama
Copy link
Copy Markdown
Author

Pravallika21-nama commented May 23, 2026

hy @magic-peach please would you check my pr ,incase of changes please ping me

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 type:testing Testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant