Skip to content

Remove commented-out AdSense script block - #357

Open
DSingh0304 wants to merge 30 commits into
keploy:mainfrom
DSingh0304:main
Open

DSingh0304 wants to merge 30 commits into
keploy:mainfrom
DSingh0304:main

Conversation

@DSingh0304

@DSingh0304 DSingh0304 commented Apr 2, 2026 •

Copy link
Copy Markdown
Contributor

Description

PR #249 commented out the Google AdSense <Script /> block in pages/_document.tsx but left the JSX inside the block comment. ESLint's react/jsx-no-undef rule parses JSX component names even inside block comments, which caused a compile error and broke the Playwright e2e CI pipeline.

This PR removes the dead commented-out block entirely to fix the CI failure.

Changes

  • Removed commented-out AdSense <Script /> block from <Head> in pages/_document.tsx

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • CI (updates to continuous integration workflows)

Testing

The Playwright e2e CI was failing with:

Error: 'Script' is not defined. react/jsx-no-undef

Removing the commented block resolves the compile error and allows the web server to start successfully.

Environment and Dependencies

  • New Dependencies: None
  • Configuration Changes: None

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have run the build command to ensure there are no build errors

Signed-off-by: Deep <deep@example.com>
Copilot AI lite review requested due to automatic review settings April 2, 2026 11:57
@kilo-code-bot

kilo-code-bot Bot commented Apr 2, 2026

Copy link
Copy Markdown

Kilo Code Review could not run — your account is out of credits.

Add credits or switch to a free model to enable reviews on this change.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Removes a dead, commented-out Google AdSense <Script /> JSX block from the custom Next.js Document to prevent lint/compile failures during CI runs.

Changes:

  • Deleted the commented-out AdSense <Script /> block from pages/_document.tsx <Head>.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pages/_document.tsx
@dhananjay6561
dhananjay6561 requested a review from Copilot April 6, 2026 12:04
@dhananjay6561

Copy link
Copy Markdown
Member

Hey @DSingh0304 👋 — thanks so much for contributing to the project, really appreciate it!

Your PR looks great and has been marked for merging. Here's a quick note from the reviewer:

Clean dead code removal. Zero risk.

We'll get this merged in soon. Keep the great work coming! 🚀

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Signed-off-by: Deep Shekhar Singh <deepshekhar0306@gmail.com>
@DSingh0304

Copy link
Copy Markdown
Contributor Author

Hey @DSingh0304 👋 — thanks so much for contributing to the project, really appreciate it!

Your PR looks great and has been marked for merging. Here's a quick note from the reviewer:

Clean dead code removal. Zero risk.

We'll get this merged in soon. Keep the great work coming! 🚀

Thank you sir!!

@dhananjay6561 dhananjay6561 self-assigned this Apr 15, 2026
@dhananjay6561
dhananjay6561 self-requested a review April 15, 2026 05:11

@dhananjay6561 dhananjay6561 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@amaan-bhati LGTM!

@dhananjay6561 dhananjay6561 removed their assignment Sep 8, 2026
Copilot AI review requested due to automatic review settings September 8, 2026 06:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.

Copilot AI review requested due to automatic review settings September 9, 2026 11:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.

Copilot AI review requested due to automatic review settings September 10, 2026 10:58

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.

Copilot AI review requested due to automatic review settings September 10, 2026 10:58

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.

Copilot AI review requested due to automatic review settings September 11, 2026 11:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.

Copilot AI lite review requested due to automatic review settings October 7, 2026 13:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.

Copilot AI lite review requested due to automatic review settings October 8, 2026 13:08

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.

Copilot AI lite review requested due to automatic review settings October 16, 2026 11:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.

Copilot AI lite review requested due to automatic review settings October 17, 2026 10:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.

Copilot AI lite review requested due to automatic review settings October 19, 2026 12:41

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.

Copilot AI lite review requested due to automatic review settings October 20, 2026 11:13

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.

Copilot AI lite review requested due to automatic review settings October 21, 2026 11:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.

Copilot AI lite review requested due to automatic review settings October 22, 2026 11:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.

Copilot AI lite review requested due to automatic review settings October 23, 2026 11:19

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.

Copilot AI lite review requested due to automatic review settings October 24, 2026 10:38

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.

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