Fix/replay3d corrupted file#576
Open
anushka11p wants to merge 3 commits into
Open
Conversation
|
Someone is attempting to deploy a commit to the somiljain2024-4175's projects Team on Vercel. A member of the Team first needs to authorize it. |
Owner
|
@anushka11p you remove +650 lines of code so can u plz provide with the ss so can check not remove any imp thing |
Contributor
Author
|
Hi @Somil450 ! Here's a breakdown of what was removed: The -678 lines were from Replay3DModel.tsx which had duplicate/corrupted code blocks introduced by bad merges. Specifically removed:
However, looking at the CI failures, I can see frame?.repCount was changed to frame.repCount causing Cannot find name 'frame' errors. I'll fix these in a new commit. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚀 Pull Request Template
📌 Related Issue
Fixes #523
📝 Description
2.Removed duplicate useTheme import in src/components/WelcomeScreen.tsx
3.Removed duplicate CameraErrorBoundary import in src/components/WorkoutScreen.tsx
🔹 What has been changed?
Replay3DModel.tsx was corrupted by bad merges that introduced duplicate code blocks and type declarations inside function bodies, causing parse errors that rendered the entire app as a blank page. This PR restores the file to the last clean version committed by the maintainer before the breaking changes were introduced.
🔹 Why are these changes needed?
Any developer who clones or syncs from main currently gets a completely broken app — blank page, parse errors, nothing works. This makes it impossible for new contributors to set up the project locally and start contributing. Restoring these files ensures that anyone who forks or syncs the repo gets a fully functional development environment out of the box.
🛠️ Type of Change
Please mark the relevant option(s):
🧪 Testing
Describe how you tested your changes.
✅ Tests Performed
🌐 Browsers Tested
📷 Screenshots / Demo (if applicable)
📋 Checklist
Before submitting this PR, please confirm the following:
💬 Additional Notes
The duplicate imports in WelcomeScreen.tsx and WorkoutScreen.tsx were side effects of the same bad merges and have been cleaned up in this PR as well.