Repository navigation
fix(app): remove duplicated connection block from stacked-PR merge - #22
Merged
Merged
Conversation
Merging stacked PRs #19 and #20 re-applied the connection-visibility block (connectionToastShownRef / handleReenterCredentials / connectionInfo / isAuthError) a second time — #20's branch still carried the rebased #19 commits, and after #19's squash-merge the second merge duplicated the block in a shifted context, breaking tsc (TS2451 redeclarations) and the image build. src/ now matches the reviewed #20 branch tip exactly. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Removes an accidentally duplicated “connection visibility & auth recovery” block in App.tsx that was re-applied during stacked PR merges, causing TS2451 redeclaration errors and breaking the build.
Changes:
- Deleted the second (duplicate) definitions of
connectionToastShownRef,handleReenterCredentials,connectionInfo, andisAuthErrorinsrc/App.tsx.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
What
Main's build is red: merging stacked PRs #19 → #20 re-applied the connection-visibility block (
connectionToastShownRef/handleReenterCredentials/connectionInfo/isAuthError) a second time inApp.tsx, breakingtsc -bwith TS2451 redeclarations and failing the Docker image build.Why: #20's branch still carried the rebased #19 commits. After #19 squash-merged, #20's merge diff included those changes again — most applied as no-ops, but this block landed in a shifted context and duplicated.
Fix
Removed the second copy. Verified
src/on this branch is now byte-identical to the reviewed #20 branch tip (git diff archive/feat/ux-expansion-visible-… -- src/→ empty), so main ends up exactly at the state both reviews approved.npx tsc -bcleannpm run lint— 0 errors, 14 warnings (baseline)npm run buildgreen🤖 Generated with Claude Code