Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Simplify component callback invocations
The wrapping anonymous function is unnecessary now that the callback are simply setting a single state value. Also, passing anonymous functions to child components can lead to unnecessary re-renders.
- Loading branch information