Skip to content

chore: fixed logEventWithContext implementation for better readability #1997

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

0xkg
Copy link

@0xkg 0xkg commented Mar 12, 2025

What changed? Why?
I replaced the logEventWithContext: function () { return undefined; } with logEventWithContext: () => {}, which is a cleaner and more concise way to define an empty function in TypeScript. This improves code readability by removing the redundant return undefined.

Notes to reviewers
The change is purely structural and does not affect the function's behavior. Please review to ensure no side effects have been introduced.

How has it been tested?
No functional tests are required since the change only affects the code's syntax and readability. However, I have verified that the code compiles correctly without issues.

Copy link

vercel bot commented Mar 12, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
web-base-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 12, 2025 6:17pm

@cb-heimdall
Copy link
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

Copy link

vercel bot commented Mar 12, 2025

@0xkg is attempting to deploy a commit to the Coinbase Team on Vercel.

A member of the Team first needs to authorize it.

@wbnns
Copy link
Contributor

wbnns commented Mar 28, 2025

@0xkg Thanks for contributing! Adding this to our backlog, pending to be reviewed. 👍

@0xkg
Copy link
Author

0xkg commented Apr 7, 2025

wbnns pls merge this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
base web review To be reviewed by the Base web team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants