Skip to content

Conversation

@stormslowly
Copy link
Collaborator

No need to show error when plugin decide to reload the page.

@stormslowly stormslowly requested a review from Copilot September 8, 2025 06:03
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds an early return statement after location.reload() to prevent error overlay display when the plugin decides to reload the page.

  • Adds a return statement immediately after location.reload() call to exit the function early
  • Prevents subsequent error handling code from executing when a page reload is triggered

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@chenjiahan chenjiahan changed the title refactor: early return to void overlay flashing fix: early return to void overlay flashing Sep 8, 2025
@chenjiahan chenjiahan merged commit 68cc737 into main Sep 8, 2025
4 checks passed
@chenjiahan chenjiahan deleted the refactor/void_overlay_flash branch September 8, 2025 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants