Skip to content

Conversation

@anusha-c18
Copy link
Contributor

This PR fixes the no-promise-executor-return linting error in the simulateNetworkRequest function.

As arrow functions are shown as an example of incorrect code in the rule docs, wrapping the code in curly braces makes the intent more clear and doesn't throw a linting error.

@kyletsang kyletsang merged commit b5c8d22 into react-bootstrap:master Nov 18, 2024
4 checks passed
@kyletsang
Copy link
Member

Thanks

@anusha-c18 anusha-c18 deleted the fix-no-promise-executor-return branch November 26, 2024 13:45
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.

2 participants