Skip to content
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

refactor(index): return directly in arrow function #455

Merged
merged 3 commits into from
Jan 10, 2025
Merged

Conversation

Fdawgs
Copy link
Member

@Fdawgs Fdawgs commented Jan 10, 2025

Don't need the blocks around the return if it's an arrow function with an immediate return.

Checklist

Signed-off-by: Frazer Smith <frazer.dev@icloud.com>
index.js Outdated Show resolved Hide resolved
index.js Outdated Show resolved Hide resolved
Signed-off-by: Frazer Smith <frazer.dev@icloud.com>
Signed-off-by: Frazer Smith <frazer.dev@icloud.com>
@Fdawgs Fdawgs merged commit af998e5 into master Jan 10, 2025
13 checks passed
@Fdawgs Fdawgs deleted the Fdawgs-patch-3 branch January 10, 2025 12:35
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.

1 participant