Skip to content

[Bug]: Debug console.log statements left in production components #1985

Description

@OmanshiRaj

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Several components ship console.log calls intended for local debugging, which run for every visitor in production and clutter the browser console:

src/theme/Footer/Layout/index.tsx:87
src/pages/merch/index.tsx:116, 141, 148, 153
src/pages/broadcasts/index.tsx:98, 114, 120, 171

Expected behavior

These logs should be removed, or gated behind a dev-only check (e.g. if (process.env.NODE_ENV === "development")), so production users don't see internal debug output in their console.

Add ScreenShots

No response

What browsers are you seeing the problem on?

No response

Record

  • I have read the Contributing Guidelines
  • I want to work on this issue
  • I am a part of gssoc26

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions